diff --git a/crypto/evp/digestsign.c b/crypto/evp/digestsign.c index ccb4de4f..69c483ad 100644 --- a/crypto/evp/digestsign.c +++ b/crypto/evp/digestsign.c @@ -55,7 +55,6 @@ #include -#include #include #include "internal.h" @@ -78,10 +77,6 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx, } ctx->pctx_ops = &md_pctx_ops; - if (type == NULL) { - type = EVP_sha1(); - } - if (type == NULL) { OPENSSL_PUT_ERROR(EVP, EVP_R_NO_DEFAULT_DIGEST); return 0;