Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Oct 5, 2023
1 parent a2fcd9e commit 83daf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebTunnel/WebTunnelAgentLib/src/webtunnelagent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ logging.channels.console.pattern = %Y-%m-%d %H:%M:%S.%i [%p] %s<%I>: %t
throw Poco::InvalidArgumentException(prefix + ".verification", vModeStr);

Poco::Net::Context::Protocols minProto = Poco::Net::Context::PROTO_TLSV1_2;
if (tlsMinVersion == "tlsv1" or tlsMinVersion == "tlsv1_0")
if (tlsMinVersion == "tlsv1" || tlsMinVersion == "tlsv1_0")
minProto = Poco::Net::Context::PROTO_TLSV1;
else if (tlsMinVersion == "tlsv1_1")
minProto = Poco::Net::Context::PROTO_TLSV1_1;
Expand Down

0 comments on commit 83daf63

Please sign in to comment.