]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/ldap-int.h
ITS#8687 - EGD is disabled by default in OpenSSL 1.1. We need to comment out this...
[openldap] / libraries / libldap / ldap-int.h
index 63cad53d061c8e06426c72db697368f8e85b6176..bcd6118b5f2afe810e7924f7fff604cb0ad4a792 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2015 The OpenLDAP Foundation.
+ * Copyright 1998-2017 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -167,6 +167,9 @@ struct ldaptls {
        char            *lt_randfile;   /* OpenSSL only */
        char            *lt_ecname;             /* OpenSSL only */
        int             lt_protocol_min;
+       struct berval   lt_cacert;
+       struct berval   lt_cert;
+       struct berval   lt_key;
 };
 #endif
 
@@ -258,6 +261,9 @@ struct ldapoptions {
 #define ldo_tls_protocol_min   ldo_tls_info.lt_protocol_min
 #define ldo_tls_crlfile        ldo_tls_info.lt_crlfile
 #define ldo_tls_randfile       ldo_tls_info.lt_randfile
+#define ldo_tls_cacert ldo_tls_info.lt_cacert
+#define ldo_tls_cert   ldo_tls_info.lt_cert
+#define ldo_tls_key    ldo_tls_info.lt_key
        int                     ldo_tls_mode;
        int                     ldo_tls_require_cert;
        int                     ldo_tls_impl;