mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-23 16:08:55 -04:00
pkey is only used if USE_ENGINE is defined or USE_EVP is 1
This commit is contained in:
parent
6659972b4c
commit
e979efefac
1 changed files with 3 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: opensslrsa_link.c,v 1.20.50.9 2011/03/11 01:39:11 marka Exp $
|
||||
* $Id: opensslrsa_link.c,v 1.20.50.10 2011/03/11 03:02:50 marka Exp $
|
||||
*/
|
||||
#ifdef OPENSSL
|
||||
#include <config.h>
|
||||
|
|
@ -1086,7 +1086,9 @@ opensslrsa_parse(dst_key_t *key, isc_lex_t *lexer) {
|
|||
#endif
|
||||
isc_mem_t *mctx = key->mctx;
|
||||
const char *name = NULL, *label = NULL;
|
||||
#if defined(USE_ENGINE) || USE_EVP
|
||||
EVP_PKEY *pkey = NULL;
|
||||
#endif
|
||||
|
||||
/* read private key file */
|
||||
ret = dst__privstruct_parse(key, DST_ALG_RSA, lexer, mctx, &priv);
|
||||
|
|
|
|||
Loading…
Reference in a new issue