Skip to content

Commit

Permalink
Use more future-proof hash for signature
Browse files Browse the repository at this point in the history
  • Loading branch information
beldmit committed Oct 3, 2024
1 parent 26c18a1 commit d50ee16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tlstest_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ int create_cert_key(OSSL_LIB_CTX *libctx, char *algname, char *certfilename,
!X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC,
(unsigned char *)"localhost", -1, -1, 0) ||
!X509_set_issuer_name(x509, name) ||
!X509_sign(x509, pkey, EVP_sha1()) ||
!X509_sign(x509, pkey, EVP_sha256()) ||
!(keybio = BIO_new_file(privkeyfilename, "wb")) ||
!PEM_write_bio_PrivateKey(keybio, pkey, NULL, NULL, 0, NULL, NULL) ||
!(certbio = BIO_new_file(certfilename, "wb")) ||
Expand Down

0 comments on commit d50ee16

Please sign in to comment.