Typo.
[openssl.git] / crypto / dh / dh_pmeth.c
index c516dede108bd663cf72031dffe87827cc43fbca..28624ccd6400e61abc7d7dcc034531692f567a46 100644 (file)
@@ -169,7 +169,7 @@ static int pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey)
        DH *dh = NULL;
        if (ctx->pkey == NULL)
                {
-               DHerr(DH_F_PKEY_DH_KEYGEN, DSA_R_NO_PARAMETERS_SET);
+               DHerr(DH_F_PKEY_DH_KEYGEN, DH_R_NO_PARAMETERS_SET);
                return 0;
                }
        dh = DH_new();