]> git.sur5r.net Git - openldap/commitdiff
Remove dead code
authorKurt Zeilenga <kurt@openldap.org>
Sun, 9 Sep 2001 04:47:03 +0000 (04:47 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 9 Sep 2001 04:47:03 +0000 (04:47 +0000)
libraries/libldap/tls.c

index 237708ab0d7be2e1de11b9b48fb5a17b26ee8c02..f31c97973c5958fb9fb7156b98cb400618e8213f 100644 (file)
@@ -1046,7 +1046,6 @@ int
 ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
 {
        Sockbuf *sb = conn->lconn_sb;
-       /* void *ctx = ld->ld_defconn->lconn_tls_ctx; */
        char *host;
        void *ssl;
 
@@ -1074,8 +1073,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv )
         */
 
        ld->ld_errno = ldap_pvt_tls_check_hostname( ssl, host );
-       if (ld->ld_errno != LDAP_SUCCESS)
-       {
+       if (ld->ld_errno != LDAP_SUCCESS) {
                return ld->ld_errno;
        }