We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1164350 commit 3decef7Copy full SHA for 3decef7
src/S7CommPlusDriver/Net/S7Client.cs
@@ -139,12 +139,14 @@ public int SslActivate()
139
return S7Consts.errOpenSSL;
140
}
141
m_sslconn = new OpenSSLConnector(m_ptr_ctx, this);
142
- m_sslconn.ExpectConnect();
143
-
144
- // Keylog callback setzen
145
- if (WriteSslKeyToFile)
146
- m_keylog_cb = new Native.SSL_CTX_keylog_cb_func(SSL_CTX_keylog_cb);
147
- Native.SSL_CTX_set_keylog_callback(m_ptr_ctx, m_keylog_cb);
+ m_sslconn.ExpectConnect();
+
+ // Keylog callback setzen
+ if (WriteSslKeyToFile)
+ {
+ m_keylog_cb = new Native.SSL_CTX_keylog_cb_func(SSL_CTX_keylog_cb);
148
+ Native.SSL_CTX_set_keylog_callback(m_ptr_ctx, m_keylog_cb);
149
+ }
150
151
m_SslActive = true;
152
0 commit comments