]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
make e's declaration unconditional. [RT #44324]
authorMark Andrews <marka@isc.org>
Fri, 13 Jan 2017 05:10:25 +0000 (16:10 +1100)
committerMark Andrews <marka@isc.org>
Fri, 13 Jan 2017 05:10:39 +0000 (16:10 +1100)
(cherry picked from commit b8eee0f48d071f4de03f4fbe5321cdceb8ce16a3)

lib/dns/opensslrsa_link.c

index a5a53089b137a7f1e73add449ad00e98c4978740..9d15a644751294d44c98da308bf345fdbabec52e 100644 (file)
@@ -673,11 +673,11 @@ static isc_result_t
 opensslrsa_verify2(dst_context_t *dctx, int maxbits, const isc_region_t *sig) {
        dst_key_t *key = dctx->key;
        int status = 0;
+       const BIGNUM *e = NULL;
 #if USE_EVP
        EVP_MD_CTX *evp_md_ctx = dctx->ctxdata.evp_md_ctx;
        EVP_PKEY *pkey = key->keydata.pkey;
        RSA *rsa;
-       const BIGNUM *e = NULL;
        int bits;
 #else
        /* note: ISC_SHA512_DIGESTLENGTH >= ISC_*_DIGESTLENGTH */