Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 328066 Details for
Bug 440936
net-libs/neon-2.6.1-r1[gnutls] built against gnutls-3.0 fails to work with some tls sources
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch that fixes situation
1.patch (text/plain), 1.05 KB, created by
Alexander Vershilov (RETIRED)
on 2012-11-02 12:39:53 UTC
(
hide
)
Description:
patch that fixes situation
Filename:
MIME Type:
Creator:
Alexander Vershilov (RETIRED)
Created:
2012-11-02 12:39:53 UTC
Size:
1.05 KB
patch
obsolete
>diff --git a/src/ne_gnutls.c b/src/ne_gnutls.c >index 11dfd8e..01de398 100644 >--- a/src/ne_gnutls.c >+++ b/src/ne_gnutls.c >@@ -772,16 +772,18 @@ static ne_ssl_certificate *make_peers_chain(gnutls_session sock, > > if (issuer) { > issuer = x509_crt_copy(issuer); >- cert = populate_cert(ne_calloc(sizeof *cert), issuer); >- /* Check that the issuer does not match the current >- * cert. */ >- if (ne_ssl_cert_cmp(current, cert)) { >- current = current->issuer = cert; >- } >- else { >- ne_ssl_cert_free(cert); >- issuer = NULL; >- } >+ if (issuer) { >+ cert = populate_cert(ne_calloc(sizeof *cert), issuer); >+ /* Check that the issuer does not match the current >+ * cert. */ >+ if (ne_ssl_cert_cmp(current, cert)) { >+ current = current->issuer = cert; >+ } >+ else { >+ ne_ssl_cert_free(cert); >+ issuer = NULL; >+ } >+ } > } > } while (issuer); > }
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 Raw
Actions:
View
Attachments on
bug 440936
: 328066