Generate SHA-256 client certificates instead of SHA-1

This commit is contained in:
Cameron Gutman 2019-07-05 20:57:21 -07:00
parent ea8b905f02
commit a41cd0b070

View file

@ -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);