]> git.sur5r.net Git - openldap/commitdiff
RANDFILE directives
authorKurt Zeilenga <kurt@openldap.org>
Wed, 2 May 2001 19:46:01 +0000 (19:46 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 2 May 2001 19:46:01 +0000 (19:46 +0000)
servers/slapd/config.c

index 5616eef37e1819f363f53535f36bdb90d1c3d718..16d1fc126cae9494161b2d0f4a65df56c8798674 100644 (file)
@@ -1749,6 +1749,13 @@ read_config( const char *fname )
                        if ( rc )
                                return rc;
 
+               } else if ( !strcasecmp( cargv[0], "TLSRandFile" ) ) {
+                       rc = ldap_pvt_tls_set_option( NULL,
+                                                     LDAP_OPT_X_TLS_RANDOM_FILE,
+                                                     cargv[1] );
+                       if ( rc )
+                               return rc;
+
                } else if ( !strcasecmp( cargv[0], "TLSCipherSuite" ) ) {
                        rc = ldap_pvt_tls_set_option( NULL,
                                                      LDAP_OPT_X_TLS_CIPHER_SUITE,