diff options
author | Richard Levitte <levitte@openssl.org> | 2015-12-02 00:49:35 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-12-07 17:40:20 +0100 |
commit | bfb0641f932490c2e7fb5f9f7cb4a88017a5abfa (patch) | |
tree | 6b6b0a9dfe55b4b3a2e5961ed1778dd156128f35 /test/gost2814789test.c | |
parent | 959ed5316c84d0e12ad18acfd40cefe15603ddfb (diff) | |
download | openssl-bfb0641f932490c2e7fb5f9f7cb4a88017a5abfa.tar.gz |
Cleanup: fix all sources that used EVP_MD_CTX_(create|init|destroy)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/gost2814789test.c')
-rw-r--r-- | test/gost2814789test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gost2814789test.c b/test/gost2814789test.c index 486326cefe..2ab0782f80 100644 --- a/test/gost2814789test.c +++ b/test/gost2814789test.c @@ -1391,7 +1391,7 @@ int main(int argc, char *argv[]) */ continue; } - mctx = EVP_MD_CTX_create(); + mctx = EVP_MD_CTX_new(); if (mctx == NULL) { fflush(NULL); fprintf(stderr, "ENGINE_ctrl_cmd_string: malloc failure\n"); @@ -1417,7 +1417,7 @@ int main(int argc, char *argv[]) siglen = 4; OPENSSL_assert(EVP_DigestSignFinal(mctx, bTest, &siglen)); EVP_PKEY_free(mac_key); - EVP_MD_CTX_destroy(mctx); + EVP_MD_CTX_free(mctx); enlu = (int)tcs[t].ullLen; enlf = 0; l = siglen; |