mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-01 21:02:39 +08:00
#6611 Updated untrusted server dialog to show sha256 fingerprint
This commit is contained in:
parent
b2173efbae
commit
dc363d66ab
@ -683,7 +683,7 @@ SecureSocket::verifyCertFingerprint()
|
||||
EVP_MD* tempDigest;
|
||||
unsigned char tempFingerprint[EVP_MAX_MD_SIZE];
|
||||
unsigned int tempFingerprintLen;
|
||||
tempDigest = (EVP_MD*)EVP_sha1();
|
||||
tempDigest = (EVP_MD*)EVP_sha256();
|
||||
int digestResult = X509_digest(cert, tempDigest, tempFingerprint, &tempFingerprintLen);
|
||||
|
||||
if (digestResult <= 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user