Use SSL_F_SSL_SET_SESSION_TICKET_EXT instead of OPENSSL_VERSION_NUMBER

to figure out whether to use the new session ticket override API with
OpenSSL.
This commit is contained in:
Jouni Malinen 2008-11-23 21:14:43 +02:00
parent d268507aa0
commit 191a8ad794

View file

@ -37,7 +37,7 @@
#define OPENSSL_d2i_TYPE unsigned char ** #define OPENSSL_d2i_TYPE unsigned char **
#endif #endif
#if OPENSSL_VERSION_NUMBER >= 0x00909000L #ifdef SSL_F_SSL_SET_SESSION_TICKET_EXT
#ifdef SSL_OP_NO_TICKET #ifdef SSL_OP_NO_TICKET
/* /*
* Session ticket override patch was merged into OpenSSL 0.9.9 tree on * Session ticket override patch was merged into OpenSSL 0.9.9 tree on