From: Bernhard Übelacker bernhardu@mailbox.org
--- dlls/crypt32/msg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index a5ee20f04a6..5e6d59a1f58 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -1242,12 +1242,11 @@ static BOOL CSignedEncodeMsg_GetParam(HCRYPTMSG hCryptMsg, DWORD dwParamType, { CRYPT_SIGNED_INFO info; BOOL freeContent = FALSE; + char oid_rsa_data[] = szOID_RSA_data;
info = *msg->msg_data.info; if (!msg->innerOID || !strcmp(msg->innerOID, szOID_RSA_data)) { - char oid_rsa_data[] = szOID_RSA_data; - /* Quirk: OID is only encoded messages if an update has happened */ if (msg->base.state != MsgStateInit) info.content.pszObjId = oid_rsa_data;