Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/MgmtPointMessaging.cs
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ public static async void SendPolicyAssignmentRequestWithExplicitData(string mach
string szMediaGUIDPlain = szMediaGUID.Trim(new char[] { '{', '}' });
string szMediaGUIDCurlyBrackets = $"{{{szMediaGUIDPlain}}}";

(MessageCertificateX509 signingCertificate, MessageCertificateX509 encryptioncertificate, SmsClientId _) = GetCertsAndClientId(null, null, szEncodedSigningCert, machineGUID, null, null, null, szMediaGUIDCurlyBrackets.Substring(0, 31));
(MessageCertificateX509 signingCertificate, MessageCertificateX509 encryptioncertificate, SmsClientId _) = GetCertsAndClientId(null, null, szEncodedSigningCert, machineGUID, null, null, null, szMediaGUIDCurlyBrackets.Substring(1, 31));
if (signingCertificate == null)
{
return;
Expand Down Expand Up @@ -840,4 +840,4 @@ public static X509Store StoreCertificate(X509Certificate2 certificate, string st
return x509Store;
}
}
}
}