set the default message digest to sha256

This commit is contained in:
olszomal 2022-03-11 10:53:58 +01:00 committed by Michał Trojnara
parent 1bd9a87e2f
commit 4c1b972f9e
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
### 2.4 (unreleased) ### 2.4 (unreleased)
- set the default message digest to sha256
### 2.3 (2022.03.06) ### 2.3 (2022.03.06)
**CRITICAL SECURITY VULNERABILITIES** **CRITICAL SECURITY VULNERABILITIES**

View File

@ -5603,7 +5603,7 @@ static int main_configure(int argc, char **argv, cmd_type_t *cmd, GLOBAL_OPTIONS
argv++; argv++;
argc--; argc--;
} }
options->md = EVP_sha1(); options->md = EVP_sha256();
options->signing_time = INVALID_TIME; options->signing_time = INVALID_TIME;
options->jp = -1; options->jp = -1;