* [gentoo-commits] gentoo-x86 commit in net-nntp/nzbget/files: nzbget-0.7.0-openssl-1.patch
@ 2010-07-12 7:49 Samuli Suominen (ssuominen)
0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-07-12 7:49 UTC (permalink / raw
To: gentoo-commits
ssuominen 10/07/12 07:49:10
Added: nzbget-0.7.0-openssl-1.patch
Log:
Fix building with OpenSSL >= 1.0.0 wrt #326995 by Diego E. Pettenò.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 net-nntp/nzbget/files/nzbget-0.7.0-openssl-1.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget-0.7.0-openssl-1.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-nntp/nzbget/files/nzbget-0.7.0-openssl-1.patch?rev=1.1&content-type=text/plain
Index: nzbget-0.7.0-openssl-1.patch
===================================================================
http://bugs.gentoo.org/326995
--- TLS.cpp
+++ TLS.cpp
@@ -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++)
@@ -1104,8 +1104,12 @@
#endif /* HAVE_LIBGNUTLS */
#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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-nntp/nzbget/files: nzbget-0.7.0-openssl-1.patch
@ 2013-07-02 18:00 Tim Harder (radhermit)
0 siblings, 0 replies; 2+ messages in thread
From: Tim Harder (radhermit) @ 2013-07-02 18:00 UTC (permalink / raw
To: gentoo-commits
radhermit 13/07/02 18:00:58
Removed: nzbget-0.7.0-openssl-1.patch
Log:
Remove old.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-02 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-12 7:49 [gentoo-commits] gentoo-x86 commit in net-nntp/nzbget/files: nzbget-0.7.0-openssl-1.patch Samuli Suominen (ssuominen)
-- strict thread matches above, loose matches on Subject: below --
2013-07-02 18:00 Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox