diff options
Diffstat (limited to 'test/evp_test.c')
-rw-r--r-- | test/evp_test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/evp_test.c b/test/evp_test.c index 759ec3be4a..ed03c86ce7 100644 --- a/test/evp_test.c +++ b/test/evp_test.c @@ -1083,6 +1083,14 @@ static int mac_test_run(struct evp_test *t) unsigned char *mac = NULL; size_t mac_len; +#ifdef OPENSSL_NO_DES + if (strstr(mdata->alg, "DES") != NULL) { + /* Skip DES */ + err = NULL; + goto err; + } +#endif + err = "MAC_PKEY_CTX_ERROR"; genctx = EVP_PKEY_CTX_new_id(mdata->type, NULL); if (!genctx) |