Diff for /libraries/libldap/tls2.c between versions 1.7 and 1.8

version 1.7, 2009/02/15 20:59:16 version 1.8, 2009/02/17 20:32:09
Line 1 Line 1
 /* tls.c - Handle tls/ssl. */  /* tls.c - Handle tls/ssl. */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/tls2.c,v 1.6 2009/02/08 02:25:48 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/tls2.c,v 1.7 2009/02/15 20:59:16 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1998-2009 The OpenLDAP Foundation.   * Copyright 1998-2009 The OpenLDAP Foundation.
Line 635  ldap_pvt_tls_get_option( LDAP *ld, int o Line 635  ldap_pvt_tls_get_option( LDAP *ld, int o
         case LDAP_OPT_X_TLS_REQUIRE_CERT:          case LDAP_OPT_X_TLS_REQUIRE_CERT:
                 *(int *)arg = lo->ldo_tls_require_cert;                  *(int *)arg = lo->ldo_tls_require_cert;
                 break;                  break;
   #ifdef HAVE_OPENSSL_CRL
         case LDAP_OPT_X_TLS_CRLCHECK:   /* OpenSSL only */          case LDAP_OPT_X_TLS_CRLCHECK:   /* OpenSSL only */
                 *(int *)arg = lo->ldo_tls_crlcheck;                  *(int *)arg = lo->ldo_tls_crlcheck;
                 break;                  break;
   #endif
         case LDAP_OPT_X_TLS_CIPHER_SUITE:          case LDAP_OPT_X_TLS_CIPHER_SUITE:
                 *(char **)arg = lo->ldo_tls_ciphersuite ?                  *(char **)arg = lo->ldo_tls_ciphersuite ?
                         LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL;                          LDAP_STRDUP( lo->ldo_tls_ciphersuite ) : NULL;

Removed from v.1.7  
changed lines
  Added in v.1.8


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org