Commit 1968ea98 authored by Richard Levitte's avatar Richard Levitte
Browse files

test/evp_test.c: If no algorithm was specified, don't try to check for DES



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2319)
(cherry picked from commit 31b69e9a)
parent b649ffca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1245,7 +1245,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;