diff options
Diffstat (limited to 'test/ecdsatest.c')
-rw-r--r-- | test/ecdsatest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ecdsatest.c b/test/ecdsatest.c index 9754869565..d56836f40d 100644 --- a/test/ecdsatest.c +++ b/test/ecdsatest.c @@ -196,7 +196,7 @@ int x9_62_test_internal(BIO *out, int nid, const char *r_in, const char *s_in) EVP_MD_CTX_init(&md_ctx); /* get the message digest */ - if (!EVP_DigestInit(&md_ctx, EVP_ecdsa()) + if (!EVP_DigestInit(&md_ctx, EVP_sha1()) || !EVP_DigestUpdate(&md_ctx, (const void *)message, 3) || !EVP_DigestFinal(&md_ctx, digest, &dgst_len)) goto x962_int_err; |