projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f915df8
)
NetBSD 5.0.1 uses an OpenSSL snapshot that describes itself as 0.9.9,
author
Ken Raeburn
<raeburn@mit.edu>
Thu, 31 Dec 2009 04:07:03 +0000
(
04:07
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Thu, 31 Dec 2009 04:07:03 +0000
(
04:07
+0000)
and has the EVP_PKEY_decrypt API change that was already being worked
around for OpenSSL 1.0.0. Work around it for 0.9.9 too.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23553
dc483132
-0cff-0310-8789-
dd5450dbe970
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
patch
|
blob
|
history
diff --git
a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
index 85e8dcaac6ae0947795471ca99de6a35a24a162a..d000466e3bb9d979eefb9fd0b9600eecba39be2d 100644
(file)
--- a/
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
+++ b/
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
@@
-3728,7
+3728,7
@@
decode_data(unsigned char **out_data, unsigned int *out_data_len,
if (buf == NULL)
goto cleanup;
-#if OPENSSL_VERSION_NUMBER >= 0x
10000
000L
+#if OPENSSL_VERSION_NUMBER >= 0x
00909
000L
retval = EVP_PKEY_decrypt_old(buf, data, (int)data_len, pkey);
#else
retval = EVP_PKEY_decrypt(buf, data, (int)data_len, pkey);