From 519a14a42786bafd267a215f671d4d73ccf7b13e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 5 Jul 2019 13:36:49 -0700 Subject: [PATCH] Use a SHA256 signature for the client certificate --- libgamestream/mkcert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgamestream/mkcert.c b/libgamestream/mkcert.c index 6dfc1c2..40466a3 100644 --- a/libgamestream/mkcert.c +++ b/libgamestream/mkcert.c @@ -147,7 +147,7 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int years) { add_ext(x, NID_subject_key_identifier, "hash"); - if (!X509_sign(x, pk, EVP_sha1())) { + if (!X509_sign(x, pk, EVP_sha256())) { goto err; }