diff options
author | 1999-09-29 04:45:01 +0000 | |
---|---|---|
committer | 1999-09-29 04:45:01 +0000 | |
commit | a5105d4a4ad90595cfa66576c89e5176f8a0ab59 (patch) | |
tree | 6c980e609f19458f1ef5f398bb51d29de03a711b | |
parent | new minty OpenSSL 0.9.4 version (diff) | |
download | wireguard-openbsd-a5105d4a4ad90595cfa66576c89e5176f8a0ab59.tar.xz wireguard-openbsd-a5105d4a4ad90595cfa66576c89e5176f8a0ab59.zip |
openssl readiness; various group members
-rw-r--r-- | sbin/isakmpd/ike_auth.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/isakmpd/ike_auth.c b/sbin/isakmpd/ike_auth.c index 97c1a26f28f..ab3a0978369 100644 --- a/sbin/isakmpd/ike_auth.c +++ b/sbin/isakmpd/ike_auth.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_auth.c,v 1.17 1999/08/26 22:30:08 niklas Exp $ */ +/* $OpenBSD: ike_auth.c,v 1.18 1999/09/29 04:45:01 deraadt Exp $ */ /* $EOM: ike_auth.c,v 1.38 1999/08/21 22:20:41 angelos Exp $ */ /* @@ -184,7 +184,11 @@ ike_auth_get_key (int type, char *id, size_t *keylen) return 0; } +#if SSLEAY_VERSION_NUMBER >= 0x00904100L + rsakey = LC (PEM_read_bio_RSAPrivateKey, (keyh, NULL, NULL, NULL)); +#else rsakey = LC (PEM_read_bio_RSAPrivateKey, (keyh, NULL, NULL)); +#endif if (!rsakey) { log_print ("ike_auth_get_key: PEM_read_bio_RSAPrivateKey failed"); |