diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/wvdial/wvstreams/openssl-buildfix.patch')
-rw-r--r-- | meta-oe/recipes-connectivity/wvdial/wvstreams/openssl-buildfix.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams/openssl-buildfix.patch b/meta-oe/recipes-connectivity/wvdial/wvstreams/openssl-buildfix.patch new file mode 100644 index 000000000..1c7005c2f --- /dev/null +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams/openssl-buildfix.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Index: wvstreams-4.6.1/crypto/wvx509.cc | ||
2 | =================================================================== | ||
3 | --- wvstreams-4.6.1.orig/crypto/wvx509.cc | ||
4 | +++ wvstreams-4.6.1/crypto/wvx509.cc | ||
5 | @@ -1157,7 +1157,11 @@ WvString WvX509::get_extension(int nid) | ||
6 | |||
7 | if (ext) | ||
8 | { | ||
9 | +#if OPENSSL_VERSION_NUMBER >= 0x10000000L | ||
10 | + const X509V3_EXT_METHOD *method = X509V3_EXT_get(ext); | ||
11 | +#else | ||
12 | X509V3_EXT_METHOD *method = X509V3_EXT_get(ext); | ||
13 | +#endif | ||
14 | if (!method) | ||
15 | { | ||
16 | WvDynBuf buf; | ||