16 lines
395 B
Diff
16 lines
395 B
Diff
http://bugs.gentoo.org/304283
|
|
|
|
--- crypto/wvx509.cc
|
|
+++ crypto/wvx509.cc
|
|
@@ -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;
|