mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
14 lines
464 B
Diff
14 lines
464 B
Diff
--- wvstreams-4.6.1/crypto/wvx509.cc 2008-10-23 22:23:49.000000000 +0200
|
|
+++ wvstreams-4.6.1-1/crypto/wvx509.cc 2010-01-27 11:09:06.000000000 +0100
|
|
@@ -1157,7 +1157,11 @@
|
|
|
|
if (ext)
|
|
{
|
|
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L
|
|
+ const X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
|
|
+#else
|
|
X509V3_EXT_METHOD *method = X509V3_EXT_get(ext);
|
|
+#endif
|
|
if (!method)
|
|
{
|
|
WvDynBuf buf;
|