Commit 292ef406 authored by Brian Wellington's avatar Brian Wellington
Browse files

Calling RSA_check_key() requires entropy, which may not be present. Remove

the call.
parent 5a77e962
......@@ -17,7 +17,7 @@
/*
* Principal Author: Brian Wellington
* $Id: opensslrsa_link.c,v 1.3 2000/11/18 03:01:09 bwelling Exp $
* $Id: opensslrsa_link.c,v 1.4 2000/11/22 00:11:30 bwelling Exp $
*/
#if defined(OPENSSL)
......@@ -487,9 +487,6 @@ opensslrsa_fromfile(dst_key_t *key, const isc_uint16_t id,
if (key->key_id != id)
DST_RET(DST_R_INVALIDPRIVATEKEY);
if (RSA_check_key(rsa) != 1)
DST_RET(DST_R_INVALIDPRIVATEKEY);
return (ISC_R_SUCCESS);
err:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment