* Fix for openssl 1.1.0 API changes.
* Remove commented out macro. Thanks Thiago Farina
* bugfix #641: Include install-sh in .gitignore
- * bugfix #796: Fix -Wshadow issues
- Thanks Ngie Cooper
+ * bugfix #825: Module import breaks with newer SWIG versions.
+ Thanks Christoph Egger
+ * bugfix #796: Fix -Wshadow issues. Thanks Ngie Cooper
1.6.17 2014-01-10
* Fix ldns_dnssec_zone_new_frm_fp_l to allow the last parsed line of a
key = ldns_key_new_frm_algorithm(algorithm, bits);
if(!key) {
fprintf(stderr, "cannot generate key of algorithm %s\n",
- ldns_pkt_algorithm2str(algorithm));
+ ldns_pkt_algorithm2str((ldns_algorithm)algorithm));
exit(EXIT_FAILURE);
}
LDNS_FREE(bignumbuf);
return 0;
}
- b64_bignum = ldns_rdf_new_frm_data(LDNS_RDF_TYPE_B64, i, bignumbuf);
+ b64_bignum = ldns_rdf_new_frm_data(LDNS_RDF_TYPE_B64, (size_t)i, bignumbuf);
if (ldns_rdf2buffer_str(output, b64_bignum) != LDNS_STATUS_OK) {
ldns_rdf_deep_free(b64_bignum);
LDNS_FREE(bignumbuf);
#endif /* splint */
#if OPENSSL_VERSION_NUMBER < 0x10100000
+# ifndef S_SPLINT_S
rsa->n = n;
rsa->e = e;
rsa->d = d;
rsa->dmp1 = dmp1;
rsa->dmq1 = dmq1;
rsa->iqmp = iqmp;
+# endif
#else
if(!RSA_set0_key(rsa, n, e, d))
goto error;
#endif /* splint */
#if OPENSSL_VERSION_NUMBER < 0x10100000
+# ifndef S_SPLINT_S
dsa->p = p;
dsa->q = q;
dsa->g = g;
dsa->priv_key = priv_key;
dsa->pub_key = pub_key;
+# endif
#else
if(!DSA_set0_pqg(dsa, p, q, g))
goto error;