mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +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);
|
-1, -1, 0);
|
||||||
X509_set_issuer_name(cert, name);
|
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());
|
BIO* biokey = BIO_new(BIO_s_mem());
|
||||||
THROW_BAD_ALLOC_IF_NULL(biokey);
|
THROW_BAD_ALLOC_IF_NULL(biokey);
|
||||||
|
|||||||
Reference in New Issue
Block a user