|
|
ef2d9b |
NOTE: The patch has been adjusted to match the base code before backporting.
|
|
|
ef2d9b |
|
|
|
ef2d9b |
From cd914149a665167b2c5ae16baa0c438824588819 Mon Sep 17 00:00:00 2001
|
|
|
ef2d9b |
From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= <ondra@openldap.org>
|
|
|
ef2d9b |
Date: Tue, 19 Feb 2019 10:26:39 +0000
|
|
|
ef2d9b |
Subject: [PATCH] Make prototypes available where needed
|
|
|
ef2d9b |
|
|
|
ef2d9b |
---
|
|
|
ef2d9b |
libraries/libldap/tls2.c | 3 +++
|
|
|
ef2d9b |
servers/slapd/config.c | 1 +
|
|
|
ef2d9b |
servers/slapd/proto-slap.h | 4 ++++
|
|
|
ef2d9b |
3 files changed, 8 insertions(+)
|
|
|
ef2d9b |
|
|
|
ef2d9b |
diff --git a/libraries/libldap/tls2.c b/libraries/libldap/tls2.c
|
|
|
ef2d9b |
index 1a96b62c3..869de2eb5 100644
|
|
|
ef2d9b |
--- a/libraries/libldap/tls2.c
|
|
|
ef2d9b |
+++ b/libraries/libldap/tls2.c
|
|
|
ef2d9b |
@@ -76,6 +76,9 @@ static oid_name oids[] = {
|
|
|
ef2d9b |
|
|
|
ef2d9b |
#ifdef HAVE_TLS
|
|
|
ef2d9b |
|
|
|
ef2d9b |
+LDAP_F(int) ldap_pvt_tls_check_hostname LDAP_P(( LDAP *ld, void *s, const char *name_in ));
|
|
|
ef2d9b |
+LDAP_F(int) ldap_pvt_tls_get_peercert LDAP_P(( void *s, struct berval *der ));
|
|
|
ef2d9b |
+
|
|
|
ef2d9b |
void
|
|
|
ef2d9b |
ldap_pvt_tls_ctx_free ( void *c )
|
|
|
ef2d9b |
{
|
|
|
ef2d9b |
diff --git a/servers/slapd/config.c b/servers/slapd/config.c
|
|
|
ef2d9b |
index 778365fd0..2816455a3 100644
|
|
|
ef2d9b |
--- a/servers/slapd/config.c
|
|
|
ef2d9b |
+++ b/servers/slapd/config.c
|
|
|
ef2d9b |
@@ -48,6 +48,7 @@
|
|
|
ef2d9b |
#endif
|
|
|
ef2d9b |
#include "lutil.h"
|
|
|
ef2d9b |
#include "lutil_ldap.h"
|
|
|
ef2d9b |
+#include "ldif.h"
|
|
|
ef2d9b |
#include "config.h"
|
|
|
ef2d9b |
|
|
|
ef2d9b |
#ifdef _WIN32
|
|
|
ef2d9b |
diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h
|
|
|
ef2d9b |
index 4bfdcf930..e33e3b7d9 100644
|
|
|
ef2d9b |
--- a/servers/slapd/proto-slap.h
|
|
|
ef2d9b |
+++ b/servers/slapd/proto-slap.h
|
|
|
ef2d9b |
@@ -755,6 +755,7 @@ LDAP_SLAPD_F (int) bindconf_unparse LDAP_P((
|
|
|
ef2d9b |
LDAP_SLAPD_F (int) bindconf_tls_set LDAP_P((
|
|
|
ef2d9b |
slap_bindconf *bc, LDAP *ld ));
|
|
|
ef2d9b |
LDAP_SLAPD_F (void) bindconf_free LDAP_P(( slap_bindconf *bc ));
|
|
|
ef2d9b |
+LDAP_SLAPD_F (void) slap_client_keepalive LDAP_P(( LDAP *ld, slap_keepalive *sk ));
|
|
|
ef2d9b |
LDAP_SLAPD_F (int) slap_client_connect LDAP_P(( LDAP **ldp, slap_bindconf *sb ));
|
|
|
ef2d9b |
LDAP_SLAPD_F (int) config_generic_wrapper LDAP_P(( Backend *be,
|
|
|
ef2d9b |
const char *fname, int lineno, int argc, char **argv ));
|
|
|
ef2d9b |
@@ -1683,6 +1684,9 @@ LDAP_SLAPD_F (int) slap_sasl_external( Connection *c,
|
|
|
ef2d9b |
slap_ssf_t ssf, /* relative strength of external security */
|
|
|
ef2d9b |
struct berval *authid ); /* asserted authenication id */
|
|
|
ef2d9b |
|
|
|
ef2d9b |
+LDAP_SLAPD_F (int) slap_sasl_cbinding( Connection *c,
|
|
|
ef2d9b |
+ struct berval *cbv );
|
|
|
ef2d9b |
+
|
|
|
ef2d9b |
LDAP_SLAPD_F (int) slap_sasl_reset( Connection *c );
|
|
|
ef2d9b |
LDAP_SLAPD_F (int) slap_sasl_close( Connection *c );
|
|
|
ef2d9b |
|
|
|
ef2d9b |
--
|
|
|
ef2d9b |
2.26.2
|
|
|
ef2d9b |
|