Reads dtls_psk from config now.
FossilOrigin-Name: 00fca3d674f2e44f67023ae26c0bacc7cddb169e5564719c1516634e23580505
This commit is contained in:
parent
f3968467cf
commit
638683d211
@ -161,7 +161,10 @@ int read_config(const char * filename){
|
||||
str = uci_lookup_option_string(ctx,section,"ssl_cert");
|
||||
if (str)
|
||||
conf_sslcertfilename=strdup(str);
|
||||
|
||||
|
||||
str = uci_lookup_option_string(ctx,section,"dtls_psk");
|
||||
if (str)
|
||||
conf_dtls_psk=strdup(str);
|
||||
|
||||
str = uci_lookup_option_string(ctx,section,"ssl_cipher");
|
||||
if (str)
|
||||
|
@ -18,6 +18,9 @@ config 'wtp'
|
||||
option ssl_cert
|
||||
option ssl_key
|
||||
|
||||
# DTSL pre-shared key
|
||||
option dtls_psk
|
||||
|
||||
# ciphers
|
||||
#
|
||||
option ssl_cipher
|
||||
|
Loading…
Reference in New Issue
Block a user