Permalink
Browse files
Restore safe reinterpret_casts in SecureSocket
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/lib/net/SecureSocket.cpp
|
|
@@ -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()));
|
|
|
|
|
|
|
0 comments on commit
a13dc92