diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-29 04:45:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-09-29 04:45:02 +0000 |
commit | bfcefa36a17f4fefd573ee8fe22ef4de777d3ef7 (patch) | |
tree | 324cb75740bbe91986dcfb889aec4456232e0203 /sbin | |
parent | 0acf726b666c446634ac5c4fc42dbbf2d91ce28f (diff) |
openssl readiness; various group members
Diffstat (limited to 'sbin')
-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"); |