mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:15:18 +00:00
pkey is only used if USE_ENGINE is defined or USE_EVP is 1
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Principal Author: Brian Wellington
|
* Principal Author: Brian Wellington
|
||||||
* $Id: opensslrsa_link.c,v 1.40 2011/03/11 01:11:54 marka Exp $
|
* $Id: opensslrsa_link.c,v 1.41 2011/03/11 02:59:37 marka Exp $
|
||||||
*/
|
*/
|
||||||
#ifdef OPENSSL
|
#ifdef OPENSSL
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@@ -1145,7 +1145,9 @@ opensslrsa_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) {
|
|||||||
#endif
|
#endif
|
||||||
isc_mem_t *mctx = key->mctx;
|
isc_mem_t *mctx = key->mctx;
|
||||||
const char *engine = NULL, *label = NULL;
|
const char *engine = NULL, *label = NULL;
|
||||||
|
#if defined(USE_ENGINE) || USE_EVP
|
||||||
EVP_PKEY *pkey = NULL;
|
EVP_PKEY *pkey = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if USE_EVP
|
#if USE_EVP
|
||||||
if (pub != NULL && pub->keydata.pkey != NULL)
|
if (pub != NULL && pub->keydata.pkey != NULL)
|
||||||
|
Reference in New Issue
Block a user