Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 329746 Details for
Bug 421463
net-nds/openldap[gnutls] fails to build with net-libs/gnutls-3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to support gnutls-3
openldap-2.4.33-gnutls.patch (text/plain), 682 bytes, created by
Ikujam
on 2012-11-17 19:26:45 UTC
(
hide
)
Description:
patch to support gnutls-3
Filename:
MIME Type:
Creator:
Ikujam
Created:
2012-11-17 19:26:45 UTC
Size:
682 bytes
patch
obsolete
>diff -Naur openldap-2.4.33-1/libraries/libldap/tls_g.c openldap-2.4.33/libraries/libldap/tls_g.c >--- openldap-2.4.33-1/libraries/libldap/tls_g.c 2012-10-10 12:18:49.000000000 +0000 >+++ openldap-2.4.33/libraries/libldap/tls_g.c 2012-11-17 19:18:06.000000000 +0000 >@@ -371,7 +371,11 @@ > gnutls_x509_crt_t *cas; > unsigned int i, j, ncas; > >+#if GNUTLS_VERSION_MAJOR == 2 > gnutls_certificate_get_x509_cas( ctx->cred, &cas, &ncas ); >+#elif GNUTLS_VERSION_MAJOR == 3 >+ gnutls_certificate_get_issuer( ctx->cred, &cas, &ncas, 0 ); >+#endif > for ( i = 1; i<VERIFY_DEPTH; i++ ) { > for ( j = 0; j<ncas; j++ ) { > if ( gnutls_x509_crt_check_issuer( certs[i-1], cas[j] )) {
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 421463
:
329746
|
329748
|
329782
|
333892