13 lines
810 B
Diff
13 lines
810 B
Diff
diff -up oqs-provider-0.6.1/test/tlstest_helpers.c.xxx oqs-provider-0.6.1/test/tlstest_helpers.c
|
|
--- oqs-provider-0.6.1/test/tlstest_helpers.c.xxx 2024-10-03 17:54:19.127349786 +0200
|
|
+++ oqs-provider-0.6.1/test/tlstest_helpers.c 2024-10-03 17:54:28.356566812 +0200
|
|
@@ -28,7 +28,7 @@ int create_cert_key(OSSL_LIB_CTX *libctx
|
|
|| !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"))
|