projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test/evp_test.c: If no algorithm was specified, don't try to check for DES
[openssl.git]
/
test
/
evp_test.c
diff --git
a/test/evp_test.c
b/test/evp_test.c
index e1a5f14328bb53127a8f98a5f90957de30043a75..b924f833a01f520db0e1df46e3644d7a9a8bc5f6 100644
(file)
--- a/
test/evp_test.c
+++ b/
test/evp_test.c
@@
-1252,7
+1252,7
@@
static int mac_test_run(struct evp_test *t)
size_t mac_len;
#ifdef OPENSSL_NO_DES
- if (strstr(mdata->alg, "DES") != NULL) {
+ if (
mdata->alg != NULL &&
strstr(mdata->alg, "DES") != NULL) {
/* Skip DES */
err = NULL;
goto err;