]> git.pld-linux.org Git - packages/openldap.git/blob - openldap-default_cacert_path.patch
perl 5.38.0 rebuild
[packages/openldap.git] / openldap-default_cacert_path.patch
1 diff -ruNp openldap-2.4.45.orig/libraries/libldap/tls_o.c openldap-2.4.45/libraries/libldap/tls_o.c
2 --- openldap-2.4.45.orig/libraries/libldap/tls_o.c      2017-06-01 22:01:07.000000000 +0200
3 +++ openldap-2.4.45/libraries/libldap/tls_o.c   2017-09-03 20:23:39.222111712 +0200
4 @@ -275,7 +275,8 @@ tlso_ctx_init( struct ldapoptions *lo, s
5                 }
6         } else {
7                 if ( !SSL_CTX_load_verify_locations( ctx,
8 -                               lt->lt_cacertfile, lt->lt_cacertdir ) )
9 +                               lt->lt_cacertfile, lt->lt_cacertdir ) ||
10 +                       !SSL_CTX_set_default_verify_paths( ctx ) )
11                 {
12                         Debug( LDAP_DEBUG_ANY, "TLS: "
13                                 "could not load verify locations (file:`%s',dir:`%s').\n",
This page took 0.078435 seconds and 3 git commands to generate.