diff options
author | lloyd <[email protected]> | 2014-11-15 23:39:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-11-15 23:39:24 +0000 |
commit | 060df7809a64d1b589554169443c48bc428ca726 (patch) | |
tree | 74ca96453ddb4bd3a8abca43fb81d67859c9f6f8 /src/cmd | |
parent | 9751f1a9084aadbfebbc7f7e67fcd5806ead6492 (diff) |
A TLS Server can now process either TLS or DTLS but not either,
with the setting set in the constructor. This prevents various surprising
things from happening to applications and simplifies record processing.
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/tls_server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/tls_server.cpp b/src/cmd/tls_server.cpp index fd9f7ef5d..a892835dc 100644 --- a/src/cmd/tls_server.cpp +++ b/src/cmd/tls_server.cpp @@ -205,7 +205,8 @@ int tls_server(int argc, char* argv[]) creds, policy, rng, - protocols); + protocols, + (transport != "tcp")); while(!server.is_closed()) { |