Added configuration option 'dtls-psk'

When this option is set to false, the DTLS-PSK protocol
will not be negotiated by worker processes. The process will fallback
to the legacy protocol in that case.
This commit is contained in:
Nikos Mavrogiannopoulos
2016-09-22 15:16:34 +02:00
parent 33089ab74e
commit 4c85fa97f0
7 changed files with 25 additions and 6 deletions

View File

@@ -270,6 +270,7 @@ struct cfg_st {
/* when using the new PSK DTLS negotiation make sure that
* the negotiated DTLS cipher/mac matches the TLS cipher/mac. */
unsigned match_dtls_and_tls;
unsigned dtls_psk; /* whether to enable DTLS-PSK */
unsigned isolate; /* whether seccomp should be enabled or not */