mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
We should stop using SSL to refer to TLS. This is a first step.
This commit is contained in:
parent
afa4fde7c4
commit
fd8b582aa9
@ -588,42 +588,42 @@ read_config( char *fname )
|
||||
#endif /*SLAPD_MODULES*/
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
} else if ( !strcasecmp( cargv[0], "SSLProtocol" ) ) {
|
||||
} else if ( !strcasecmp( cargv[0], "TLSProtocol" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_PROTOCOL,
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
|
||||
} else if ( !strcasecmp( cargv[0], "SSLCipherSuite" ) ) {
|
||||
} else if ( !strcasecmp( cargv[0], "TLSCipherSuite" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_CIPHER_SUITE,
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
|
||||
} else if ( !strcasecmp( cargv[0], "SSLCertificateFile" ) ) {
|
||||
} else if ( !strcasecmp( cargv[0], "TLSCertificateFile" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_CERTFILE,
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
|
||||
} else if ( !strcasecmp( cargv[0], "SSLCertificateKeyFile" ) ) {
|
||||
} else if ( !strcasecmp( cargv[0], "TLSCertificateKeyFile" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_KEYFILE,
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
|
||||
} else if ( !strcasecmp( cargv[0], "SSLCACertificatePath" ) ) {
|
||||
} else if ( !strcasecmp( cargv[0], "TLSCACertificatePath" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_CACERTDIR,
|
||||
cargv[1] );
|
||||
if ( rc )
|
||||
return rc;
|
||||
|
||||
} else if ( !strcasecmp( cargv[0], "SSLCACertificateFile" ) ) {
|
||||
} else if ( !strcasecmp( cargv[0], "TLSCACertificateFile" ) ) {
|
||||
rc = ldap_pvt_tls_set_option( NULL,
|
||||
LDAP_OPT_X_TLS_CACERTFILE,
|
||||
cargv[1] );
|
||||
|
Loading…
Reference in New Issue
Block a user