Skip to content

Commit

Permalink
Fix Compilation error with PRF disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Linsell <stevenx.linsell@intel.com>
  • Loading branch information
Yogaraj-Alamenda authored and stevelinsell committed Aug 5, 2016
1 parent 068b369 commit 0ea28c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qat_prf.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static EVP_PKEY_METHOD *qat_prf_pmeth(void)
if(_hidden_prf_pmeth)
return _hidden_prf_pmeth;
#ifdef OPENSSL_DISABLE_QAT_PRF
if ((current_prf_pmeth = EVP_PKEY_meth_find(EVP_PKEY_TLS_PRF)) == NULL) {
if ((current_prf_pmeth = EVP_PKEY_meth_find(EVP_PKEY_TLS1_PRF)) == NULL) {
QATerr(QAT_F_QAT_PRF_PMETH, ERR_R_INTERNAL_ERROR);
return NULL;
}
Expand Down

0 comments on commit 0ea28c2

Please sign in to comment.