FreeBSD Bugzilla – Attachment 127363 Details for
Bug 171196
fix news/nzbget 0.8.0 build with current OpenSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
nzbget.patch
nzbget.patch (text/plain), 1.31 KB, created by
freebsd
on 2012-08-31 08:50:04 UTC
(
hide
)
Description:
nzbget.patch
Filename:
MIME Type:
Creator:
freebsd
Created:
2012-08-31 08:50:04 UTC
Size:
1.31 KB
patch
obsolete
>diff -Naur nzbget.old/files/patch-TLS.cpp nzbget/files/patch-TLS.cpp >--- nzbget.old/files/patch-TLS.cpp 1970-01-01 01:00:00.000000000 +0100 >+++ nzbget/files/patch-TLS.cpp 2012-08-31 09:31:06.000000000 +0200 >@@ -0,0 +1,32 @@ >+--- TLS.cpp.orig 2011-06-14 23:47:22.000000000 +0200 >++++ TLS.cpp 2012-08-31 09:27:41.000000000 +0200 >+@@ -908,7 +908,7 @@ >+ char *buf; >+ int bufsize; >+ /* needed to get the DNS subjectAltNames: */ >+- STACK *subj_alt_names; >++ STACK_OF(GENERAL_NAME) *subj_alt_names; >+ int subj_alt_names_count; >+ GENERAL_NAME *subj_alt_name; >+ /* did we find a name matching hostname? */ >+@@ -960,7 +960,7 @@ >+ /* Try the DNS subjectAltNames. */ >+ match_found = 0; >+ if ((subj_alt_names = >+- (STACK*)X509_get_ext_d2i(x509cert, NID_subject_alt_name, NULL, NULL))) >++ (STACK_OF(GENERAL_NAME) *)X509_get_ext_d2i(x509cert, NID_subject_alt_name, NULL, NULL))) >+ { >+ subj_alt_names_count = sk_GENERAL_NAME_num(subj_alt_names); >+ for (i = 0; i < subj_alt_names_count; i++) >+@@ -1105,7 +1105,11 @@ >+ >+ #ifdef HAVE_OPENSSL >+ >++ #if OPENSSL_VERSION_NUMBER >= 0x10000000L >++ const SSL_METHOD *ssl_method = NULL; >++ #else >+ SSL_METHOD *ssl_method = NULL; >++ #endif >+ >+ ssl_method = force_sslv3 ? SSLv3_client_method() : SSLv23_client_method(); >+ if (!ssl_method)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 171196
: 127363