Changelog update and compiler warning fix

This commit is contained in:
van Hauser 2019-04-26 14:28:40 +02:00
parent 0fa7a484b3
commit e82e395dad
2 changed files with 3 additions and 2 deletions

View file

@ -468,7 +468,7 @@ RSA *ssl_temp_rsa_cb(SSL * ssl, int32_t export, int32_t keylength) {
#if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10100000L
BIGNUM *n;
n = BN_new();
RSA_get0_key(rsa, &n, NULL, NULL);
RSA_get0_key(rsa, (const struct bignum_st **)&n, NULL, NULL);
ok = BN_zero(n);
#else
if (rsa->n == 0)