Restore safe reinterpret_casts in SecureSocket
This commit is contained in:
parent
16977788d3
commit
a13dc92f2e
|
@ -683,7 +683,7 @@ SecureSocket::verifyCertFingerprint()
|
|||
}
|
||||
|
||||
// format fingerprint into hexdecimal format with colon separator
|
||||
String fingerprint(static_cast<char*>(tempFingerprint), tempFingerprintLen);
|
||||
String fingerprint(reinterpret_cast<char*>(tempFingerprint), tempFingerprintLen);
|
||||
formatFingerprint(fingerprint);
|
||||
LOG((CLOG_NOTE "server fingerprint: %s", fingerprint.c_str()));
|
||||
|
||||
|
|
Loading…
Reference in New Issue