diff options
Diffstat (limited to 'test/md4test.c')
-rw-r--r-- | test/md4test.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/md4test.c b/test/md4test.c index 9c2e7fde0c..448f9b76ef 100644 --- a/test/md4test.c +++ b/test/md4test.c @@ -56,7 +56,11 @@ int main(int argc, char *argv[]) R = ret; i = 1; while (*P != NULL) { - EVP_Digest(&(P[0][0]), strlen((char *)*P), md, NULL, EVP_md4(), NULL); + if (!EVP_Digest(&(P[0][0]), strlen((char *)*P), md, NULL, EVP_md4(), + NULL)) { + printf("EVP Digest error.\n"); + EXIT(1); + } p = pt(md); if (strcmp(p, (char *)*R) != 0) { printf("error calculating MD4 on '%s'\n", *P); |