mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-08 08:46:24 +00:00
Generate SHA-256 client certificates instead of SHA-1
This commit is contained in:
@@ -75,7 +75,7 @@ void IdentityManager::createCredentials(QSettings& settings)
|
||||
-1, -1, 0);
|
||||
X509_set_issuer_name(cert, name);
|
||||
|
||||
X509_sign(cert, pk, EVP_sha1());
|
||||
X509_sign(cert, pk, EVP_sha256());
|
||||
|
||||
BIO* biokey = BIO_new(BIO_s_mem());
|
||||
THROW_BAD_ALLOC_IF_NULL(biokey);
|
||||
|
||||
Reference in New Issue
Block a user