#define modssl_PEM_read_bio_X509 PEM_read_bio_X509
+#define modssl_PEM_read_bio_PrivateKey PEM_read_bio_PrivateKey
+
#define modssl_set_cipher_list SSL_set_cipher_list
#define HAVE_SSL_RAND_EGD /* since 9.5.1 */
#define modssl_PEM_read_bio_X509(b, x, cb, arg) \
PEM_read_bio_X509(b, x, cb)
+#define modssl_PEM_read_bio_PrivateKey(b, k, cb, arg) \
+ PEM_read_bio_PrivateKey(b, k, cb)
+
/* XXX: add configure check */
#ifndef HAVE_SSL_SET_STATE
#define SSL_set_state(ssl, state)
/* 1. try PEM (= DER+Base64+headers) */
if ((bioS=BIO_new_file(filename, "r")) == NULL)
return NULL;
- rc = PEM_read_bio_PrivateKey(bioS, key, cb, s);
+ rc = modssl_PEM_read_bio_PrivateKey(bioS, key, cb, s);
BIO_free(bioS);
if (rc == NULL) {