removed invalid assert

This commit is contained in:
WolverinDEV 2019-04-07 18:34:37 +02:00
parent f810597c6c
commit 438f6b3f77

View File

@ -4,8 +4,6 @@
int _ed_sha512_init(sha512_context* md) { int _ed_sha512_init(sha512_context* md) {
assert(!md->context);
md->context = malloc(sizeof(SHA512_CTX)); md->context = malloc(sizeof(SHA512_CTX));
return SHA512_Init(md->context) != 1; /* Returns 0 on success */ return SHA512_Init(md->context) != 1; /* Returns 0 on success */
} }