]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pkey is only used if USE_ENGINE is defined or USE_EVP is 1
authorMark Andrews <marka@isc.org>
Fri, 11 Mar 2011 02:57:35 +0000 (02:57 +0000)
committerMark Andrews <marka@isc.org>
Fri, 11 Mar 2011 02:57:35 +0000 (02:57 +0000)
lib/dns/opensslrsa_link.c

index b8544e872a19fa311c6b3a83662e7d018cc582c9..4505b373e6fa18119d0de7c1106bc0571eed0131 100644 (file)
@@ -17,7 +17,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: opensslrsa_link.c,v 1.39.10.1 2011/03/11 01:14:35 marka Exp $
+ * $Id: opensslrsa_link.c,v 1.39.10.2 2011/03/11 02:57:35 marka Exp $
  */
 #ifdef OPENSSL
 #include <config.h>
@@ -1145,7 +1145,9 @@ opensslrsa_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) {
 #endif
        isc_mem_t *mctx = key->mctx;
        const char *engine = NULL, *label = NULL;
+#if defined(USE_ENGINE) || USE_EVP
        EVP_PKEY *pkey = NULL;
+#endif
 
 #if USE_EVP
        if (pub != NULL && pub->keydata.pkey != NULL)