mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
[c,format] fix format string and review warnings
This commit is contained in:
@@ -831,8 +831,7 @@ BOOL security_encrypt(BYTE* data, size_t length, rdpRdp* rdp)
|
||||
WINPR_ASSERT(rdp);
|
||||
if (!rdp->rc4_encrypt_key)
|
||||
{
|
||||
WLog_ERR(TAG, "rdp->rc4_encrypt_key=%p",
|
||||
WINPR_CXX_COMPAT_CAST(const void*, rdp->rc4_encrypt_key));
|
||||
WLog_ERR(TAG, "rdp->rc4_encrypt_key=NULL");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@@ -864,8 +863,7 @@ BOOL security_decrypt(BYTE* data, size_t length, rdpRdp* rdp)
|
||||
|
||||
if (!rdp->rc4_decrypt_key)
|
||||
{
|
||||
WLog_ERR(TAG, "rdp->rc4_decrypt_key=%p",
|
||||
WINPR_CXX_COMPAT_CAST(const void*, rdp->rc4_decrypt_key));
|
||||
WLog_ERR(TAG, "rdp->rc4_decrypt_key=NULL");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user