Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use error that is present in OpenSSL 1.0.2
  • Loading branch information
vcsjones committed Dec 7, 2022
commit dea7c6401a2c79573c19dd6470a3274a9abac0b8
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ static bool CheckKey(EVP_PKEY* key, int32_t algId, int32_t (*check_func)(EVP_PKE

if (modulus != NULL && BN_is_zero(modulus))
{
ERR_put_error(ERR_LIB_EVP, 0, EVP_R_INVALID_KEY, __FILE__, __LINE__);
ERR_put_error(ERR_LIB_EVP, 0, EVP_R_DECODE_ERROR, __FILE__, __LINE__);
return false;
}
}
Expand Down