summaryrefslogtreecommitdiffstats
path: root/crypto/dh
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-16 23:20:05 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-16 23:20:05 +0000
commit3e268d2717df4f74acddccf2ffe954f63b54b8a0 (patch)
treefa42cc83c246d5b5d3cbbc21da1cffa9723a0fc9 /crypto/dh
parentc46acbacde2b6976b91971669a8e759837123af3 (diff)
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).
Diffstat (limited to 'crypto/dh')
-rw-r--r--crypto/dh/dh_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_lib.c b/crypto/dh/dh_lib.c
index 7adf48e6a2..ba5fd41057 100644
--- a/crypto/dh/dh_lib.c
+++ b/crypto/dh/dh_lib.c
@@ -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;
}