mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
17 lines
420 B
Plaintext
17 lines
420 B
Plaintext
$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();
|