Ensure EVP_CipherInit() uses the correct encode/decode parameter if
[openssl.git] / crypto / dh / dh_lib.c
index 7adf48e6a2e810155f552d9be4d3f948d9a3381b..ba5fd410579f1233b05abc2b0b0b2db54eac9530 100644 (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;
                        }