httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: httpd-2.0/modules/tls mod_tls.c openssl_state_machine.c openssl_state_machine.h
Date Wed, 18 Jul 2001 20:35:07 GMT
dougm       01/07/18 13:35:07

  Modified:    modules/tls mod_tls.c openssl_state_machine.c
                        openssl_state_machine.h
  Log:
  s/destroy/free/g; likeness to SSL naming
  
  Revision  Changes    Path
  1.18      +1 -1      httpd-2.0/modules/tls/mod_tls.c
  
  Index: mod_tls.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/tls/mod_tls.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mod_tls.c	2001/07/18 20:29:29	1.17
  +++ mod_tls.c	2001/07/18 20:35:07	1.18
  @@ -119,7 +119,7 @@
   
   static apr_status_t tls_filter_cleanup(void *data)
   {
  -    SSLStateMachine_destroy((SSLStateMachine *)data);
  +    SSLStateMachine_free((SSLStateMachine *)data);
       return APR_SUCCESS;
   }
   
  
  
  
  1.7       +3 -3      httpd-2.0/modules/tls/openssl_state_machine.c
  
  Index: openssl_state_machine.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/tls/openssl_state_machine.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- openssl_state_machine.c	2001/07/18 20:29:29	1.6
  +++ openssl_state_machine.c	2001/07/18 20:35:07	1.7
  @@ -146,7 +146,7 @@
       if (n <= 0) {
           SSLStateMachine_print_error(pMachine,
                                       "Error opening certificate file:");
  -        SSLStateMachine_destroy(pMachine);
  +        SSLStateMachine_free(pMachine);
           return NULL;
       }
   
  @@ -155,7 +155,7 @@
       if (n <= 0) {
           SSLStateMachine_print_error(pMachine,
                                       "Error opening private key file:");
  -        SSLStateMachine_destroy(pMachine);
  +        SSLStateMachine_free(pMachine);
           return NULL;
       }
   
  @@ -173,7 +173,7 @@
       return pMachine;
       }
   
  -void SSLStateMachine_destroy(SSLStateMachine *pMachine)
  +void SSLStateMachine_free(SSLStateMachine *pMachine)
   {
       if (pMachine->pCtx) {
           SSL_CTX_free(pMachine->pCtx);
  
  
  
  1.4       +1 -1      httpd-2.0/modules/tls/openssl_state_machine.h
  
  Index: openssl_state_machine.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/tls/openssl_state_machine.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- openssl_state_machine.h	2001/07/18 18:18:20	1.3
  +++ openssl_state_machine.h	2001/07/18 20:35:07	1.4
  @@ -3,7 +3,7 @@
   void SSLStateMachine_init(void);
   SSLStateMachine *SSLStateMachine_new(const char *szCertificateFile,
   				     const char *szKeyFile);
  -void SSLStateMachine_destroy(SSLStateMachine *pMachine);
  +void SSLStateMachine_free(SSLStateMachine *pMachine);
   void SSLStateMachine_read_inject(SSLStateMachine *pMachine,
   				 const unsigned char *aucBuf,int nBuf);
   int SSLStateMachine_read_extract(SSLStateMachine *pMachine,
  
  
  

Mime
View raw message