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/ssl mod_ssl.h
Date Wed, 27 Mar 2002 00:46:07 GMT
dougm       02/03/26 16:46:07

  Modified:    modules/ssl mod_ssl.h
  Log:
  another step towards compatiblity with rsa sslc:
  define the STACK_OF macro if not already defined.
  
  Revision  Changes    Path
  1.86      +14 -0     httpd-2.0/modules/ssl/mod_ssl.h
  
  Index: mod_ssl.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/mod_ssl.h,v
  retrieving revision 1.85
  retrieving revision 1.86
  diff -u -r1.85 -r1.86
  --- mod_ssl.h	27 Mar 2002 00:32:07 -0000	1.85
  +++ mod_ssl.h	27 Mar 2002 00:46:07 -0000	1.86
  @@ -329,6 +329,12 @@
   
   #ifdef OPENSSL_VERSION_NUMBER
   
  +/*
  + * rsa sslc uses incomplete types for most structures
  + * so we macroize for OpenSSL those which cannot be dereferenced
  + * using the same sames as the sslc functions
  + */
  +
   #define EVP_PKEY_key_type(k)              (EVP_PKEY_type(k->type))
   
   #define X509_NAME_get_entries(xs)         (xs->entries)
  @@ -358,7 +364,15 @@
   
   #define SSL_set_state(ssl,val) (ssl)->state = val
   
  +#else
  +
  +/* support some OpenSSL-izms for compat with ssl */
  +
  +#ifndef STACK_OF
  +#define STACK_OF(type) STACK
   #endif
  +
  +#endif /* OPENSSL_VERSION_NUMBER */
   
   #define ssl_verify_error_is_optional(errnum) \
      ((errnum == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT) \
  
  
  

Mime
View raw message