Restore safe reinterpret_casts in SecureSocket

This commit is contained in:
Andrew Nelless 2016-09-09 16:36:26 +01:00
parent 16977788d3
commit a13dc92f2e
1 changed files with 1 additions and 1 deletions

View File

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