16 lines
420 B
Text
16 lines
420 B
Text
$NetBSD: patch-ag,v 1.2 2012/03/19 11:28:49 markd Exp $
|
|
|
|
--- security/crypto/crypto.cpp.orig 2011-04-01 13:55:51.000000000 +0000
|
|
+++ security/crypto/crypto.cpp
|
|
@@ -2303,7 +2303,11 @@ bool KCryptoConfig::loadCiphers() {
|
|
unsigned int i;
|
|
SSL_CTX *ctx;
|
|
SSL *ssl;
|
|
+#if OPENSSL_VERSION_NUMBER < 0x00909000L
|
|
SSL_METHOD *meth;
|
|
+#else
|
|
+const SSL_METHOD *meth;
|
|
+#endif
|
|
|
|
SSLv3Box->clear();
|
|
meth = SSLv3_client_method();
|