Ensure EVP_CipherInit() uses the correct encode/decode parameter if

enc == -1

[Reported by Markus Friedl <markus@openbsd.org>]

Fix typo in dh_lib.c (use of DSAerr instead of DHerr).
This commit is contained in:
Dr. Stephen Henson
2002-03-16 23:20:05 +00:00
parent c46acbacde
commit 3e268d2717
2 changed files with 9 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ DH *DH_new_method(ENGINE *engine)
{
if (!ENGINE_init(engine))
{
DSAerr(DH_F_DH_NEW_METHOD, ERR_R_ENGINE_LIB);
DHerr(DH_F_DH_NEW_METHOD, ERR_R_ENGINE_LIB);
OPENSSL_free(ret);
return NULL;
}