Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170962 Details for
Bug 245850
net-libs/gnutls <2.4.1-r2 Failure to check certificates (CVE-2008-4989)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gnutls-2.2.5-selfsigned-trust.patch
gnutls-2.2.5-selfsigned-trust.patch (text/plain), 1.21 KB, created by
Daniel Black (RETIRED)
on 2008-11-07 05:54:19 UTC
(
hide
)
Description:
gnutls-2.2.5-selfsigned-trust.patch
Filename:
MIME Type:
Creator:
Daniel Black (RETIRED)
Created:
2008-11-07 05:54:19 UTC
Size:
1.21 KB
patch
obsolete
>--- gnutls-2.4.1/lib/x509/verify.c.orig 2008-07-01 06:45:51.000000000 +1000 >+++ gnutls-2.4.1/lib/x509/verify.c 2008-11-07 16:48:08.000000000 +1100 >@@ -376,6 +376,17 @@ > int i = 0, ret; > unsigned int status = 0, output; > >+ /* Check if the last certificate in the path is self signed. >+ * In that case ignore it (a certificate is trusted only if it >+ * leads to a trusted party by us, not the server's). >+ */ >+ if (gnutls_x509_crt_check_issuer (certificate_list[clist_size - 1], >+ certificate_list[clist_size - 1]) > 0 >+ && clist_size > 0) >+ { >+ clist_size--; >+ } >+ > /* Verify the last certificate in the certificate path > * against the trusted CA certificate list. > * >@@ -414,17 +425,6 @@ > } > #endif > >- /* Check if the last certificate in the path is self signed. >- * In that case ignore it (a certificate is trusted only if it >- * leads to a trusted party by us, not the server's). >- */ >- if (gnutls_x509_crt_check_issuer (certificate_list[clist_size - 1], >- certificate_list[clist_size - 1]) > 0 >- && clist_size > 0) >- { >- clist_size--; >- } >- > /* Verify the certificate path (chain) > */ > for (i = clist_size - 1; i > 0; i--)
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 245850
:
170927
|
170942
| 170962 |
170965