X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fldap-int.h;h=d7d1afada17ecd1f8fef1463efe1ca8263d27fcf;hb=91ebfc82ea75dee6b9751353c39220b8236f496e;hp=63cad53d061c8e06426c72db697368f8e85b6176;hpb=b2a9cbc6eb2f4560de6ad6f3d79633be6b44c0a2;p=openldap diff --git a/libraries/libldap/ldap-int.h b/libraries/libldap/ldap-int.h index 63cad53d06..d7d1afada1 100644 --- a/libraries/libldap/ldap-int.h +++ b/libraries/libldap/ldap-int.h @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * 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; @@ -542,6 +548,13 @@ LDAP_F (BerElement *) ldap_build_add_req LDAP_P(( LDAPControl **cctrls, ber_int_t *msgidp )); +/* + * in lbase64.c + */ + +LDAP_F (int) ldap_int_decode_b64_inplace LDAP_P(( + struct berval *value )); + /* * in compare.c */