From 0a8dbb91b0f505da3ce617fa5284719b8356cdac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 5 Dec 2017 22:48:07 +0100 Subject: Steam: For RsaEncryption use exponent received from server --- protocols/Steam/src/steam_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Steam/src/steam_proto.h') diff --git a/protocols/Steam/src/steam_proto.h b/protocols/Steam/src/steam_proto.h index 4a2aff8d47..dab65cccce 100644 --- a/protocols/Steam/src/steam_proto.h +++ b/protocols/Steam/src/steam_proto.h @@ -220,7 +220,7 @@ protected: static WORD SteamToMirandaStatus(int state); static int MirandaToSteamState(int status); - static int RsaEncrypt(const char *pszModulus, const char *data, BYTE *encrypted, DWORD &encryptedSize); + static int RsaEncrypt(const char *pszModulus, DWORD &exponent, const char *data, BYTE *encrypted, DWORD &encryptedSize); static void CSteamProto::ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL); static void CSteamProto::ShowNotification(const wchar_t *caption, const wchar_t *message, int flags = 0, MCONTACT hContact = NULL); -- cgit v1.2.3