... when compiling with OpenSSL versions earlier than 1.1.0.
Sponsored by: Robert Klemme
static int ssl_inited = 0;
static int ssl_inited = 0;
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#define X509_set1_notBefore X509_set_notBefore
+#define X509_set1_notAfter X509_set_notAfter
+#endif
+
/*********************************************************************
*
* Function : openssl_init
/*********************************************************************
*
* Function : openssl_init