mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 23:36:55 +00:00
Use a SHA256 signature for the client certificate
This commit is contained in:
1 parent
039eabca1e
commit
519a14a427
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user