Generate SHA-256 client certificates instead of SHA-1
This commit is contained in:
parent
ea8b905f02
commit
a41cd0b070
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue