From 438f6b3f7768e9edeed06d99c2c9b4f8802661c4 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 7 Apr 2019 18:34:37 +0200 Subject: [PATCH] removed invalid assert --- src/sha512_openssl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sha512_openssl.c b/src/sha512_openssl.c index a92045e..e4f0082 100644 --- a/src/sha512_openssl.c +++ b/src/sha512_openssl.c @@ -4,8 +4,6 @@ int _ed_sha512_init(sha512_context* md) { - assert(!md->context); - md->context = malloc(sizeof(SHA512_CTX)); return SHA512_Init(md->context) != 1; /* Returns 0 on success */ }