mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 15:17:01 -04:00
2357. [port] Don't use OpenSSL's engine support in versions before
OpenSSL 0.9.7f. [RT #17922]
This commit is contained in:
parent
070c022f10
commit
a77b091952
1 changed files with 8 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
/*
|
||||
* Principal Author: Brian Wellington
|
||||
* $Id: openssl_link.c,v 1.20 2008/04/04 22:10:49 marka Exp $
|
||||
* $Id: openssl_link.c,v 1.21 2008/04/05 02:35:24 marka Exp $
|
||||
*/
|
||||
#ifdef OPENSSL
|
||||
|
||||
|
|
@ -355,7 +355,12 @@ dst__openssl_getengine(const char *name) {
|
|||
|
||||
UNUSED(name);
|
||||
|
||||
|
||||
#if defined(USE_ENGINE)
|
||||
return (he);
|
||||
#else
|
||||
return (NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
|
|
@ -363,7 +368,9 @@ dst__openssl_setdefault(const char *name) {
|
|||
|
||||
UNUSED(name);
|
||||
|
||||
#if defined(USE_ENGINE)
|
||||
ENGINE_set_default(e, ENGINE_METHOD_ALL);
|
||||
#endif
|
||||
/*
|
||||
* XXXMPA If the engine does not have a default RAND method
|
||||
* restore our method.
|
||||
|
|
|
|||
Loading…
Reference in a new issue