Merge pull request #519 from dgarske/fix_compat_wo_ecc

Fix for openssl compatibility without ECC
This commit is contained in:
toddouska
2016-08-08 13:46:58 -07:00
committed by GitHub

View File

@@ -17878,6 +17878,7 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl)
return NULL;
}
#ifdef HAVE_ECC
const char * wolf_OBJ_nid2sn(int n) {
int i;
WOLFSSL_ENTER("wolf_OBJ_nid2sn");
@@ -17911,6 +17912,7 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl)
}
return -1;
}
#endif /* HAVE_ECC */
WOLFSSL_X509 *PEM_read_bio_WOLFSSL_X509(WOLFSSL_BIO *bp, WOLFSSL_X509 **x, pem_password_cb *cb, void *u) {