1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

move OpenSSL specific SSL_{get,set}_state macros to the #ifdef'd group of

macros for OpenSSL in mod_ssl.h


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug MacEachern
2002-01-18 23:26:46 +00:00
parent 422b6e7cdf
commit cdea8a5477
2 changed files with 9 additions and 8 deletions

View File

@@ -370,6 +370,15 @@ typedef enum {
#define SSL_SESSION_get_session_id(s) (s->session_id)
#define SSL_SESSION_get_session_id_length(s) (s->session_id_length)
/*
* Support for retrieving/overriding states
*/
#ifndef SSL_get_state
#define SSL_get_state(ssl) SSL_state(ssl)
#endif
#define SSL_set_state(ssl,val) (ssl)->state = val
#endif
#define ssl_verify_error_is_optional(errnum) \