svn rev #23553: trunk/src/plugins/preauth/pkinit/

raeburn@MIT.EDU raeburn at MIT.EDU
Wed Dec 30 23:07:03 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23553
Commit By: raeburn
Log Message:
NetBSD 5.0.1 uses an OpenSSL snapshot that describes itself as 0.9.9,
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.


Changed Files:
U   trunk/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
Modified: trunk/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
===================================================================
--- trunk/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c	2009-12-31 03:37:40 UTC (rev 23552)
+++ trunk/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c	2009-12-31 04:07:03 UTC (rev 23553)
@@ -3728,7 +3728,7 @@
     if (buf == NULL)
         goto cleanup;
 
-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+#if OPENSSL_VERSION_NUMBER >= 0x00909000L
     retval = EVP_PKEY_decrypt_old(buf, data, (int)data_len, pkey);
 #else
     retval = EVP_PKEY_decrypt(buf, data, (int)data_len, pkey);




More information about the cvs-krb5 mailing list