Line
Link Here
|
0 |
-- openldap-2.4.16.orig/libraries/libldap/tls_g.c |
0 |
++ openldap-2.4.16/libraries/libldap/tls_g.c |
Lines 354-359
Link Here
|
354 |
gnutls_x509_crt_t certs[VERIFY_DEPTH]; |
354 |
gnutls_x509_crt_t certs[VERIFY_DEPTH]; |
355 |
unsigned int max = VERIFY_DEPTH; |
355 |
unsigned int max = VERIFY_DEPTH; |
356 |
|
356 |
|
|
|
357 |
rc = gnutls_x509_privkey_init(&key); |
358 |
if ( rc < 0 ) return -1; |
359 |
|
357 |
/* OpenSSL builds the cert chain for us, but GnuTLS |
360 |
/* OpenSSL builds the cert chain for us, but GnuTLS |
358 |
* expects it to be present in the certfile. If it's |
361 |
* expects it to be present in the certfile. If it's |
359 |
* not, we have to build it ourselves. So we have to |
362 |
* not, we have to build it ourselves. So we have to |