Diff for /libraries/libldap/tls_o.c between versions 1.15 and 1.16

version 1.15, 2009/10/30 16:08:57 version 1.16, 2010/04/12 01:21:05
Line 1 Line 1
 /* tls_o.c - Handle tls/ssl using OpenSSL */  /* tls_o.c - Handle tls/ssl using OpenSSL */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.14 2009/09/30 14:25:23 ralf Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/tls_o.c,v 1.15 2009/10/30 16:08:57 hallvard Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2008-2009 The OpenLDAP Foundation.   * Copyright 2008-2009 The OpenLDAP Foundation.
Line 1079  tlso_tmp_rsa_cb( SSL *ssl, int is_export Line 1079  tlso_tmp_rsa_cb( SSL *ssl, int is_export
         RSA *tmp_rsa;          RSA *tmp_rsa;
         /* FIXME:  Pregenerate the key on startup */          /* FIXME:  Pregenerate the key on startup */
         /* FIXME:  Who frees the key? */          /* FIXME:  Who frees the key? */
 #if OPENSSL_VERSION_NUMBER > 0x00908000  #if OPENSSL_VERSION_NUMBER >= 0x00908000
         BIGNUM *bn = BN_new();          BIGNUM *bn = BN_new();
         tmp_rsa = NULL;          tmp_rsa = NULL;
         if ( bn ) {          if ( bn ) {

Removed from v.1.15  
changed lines
  Added in v.1.16


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