Skip to content

Commit 6966b28

Browse files
[AtModem] Update IndexSSL for correct SSL context (#1386)
Co-authored-by: José Simões <[email protected]>
1 parent 5b03d03 commit 6966b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

devices/AtModem/Http/Sim7672HttpClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ internal class Sim7672HttpClient : HttpClient
1919
{
2020
private const string RootCaFileName = "crt";
2121

22-
// 1 is MQTT, so let's take 2 for HTTP
23-
private const int IndexSSL = 2;
22+
// 1 is MQTT, let's take 0 because that sets the correct SSL context ID (the default one).
23+
private const int IndexSSL = 0;
2424
private ManualResetEvent _httpActionArrived = new ManualResetEvent(false);
2525
private HttpActionResult _httpActionResult = null;
2626
private X509Certificate _certAuth;

0 commit comments

Comments
 (0)