libtls: Move settings to <ns>.tls with fallback to libtls

This commit is contained in:
Tobias Brunner
2014-02-12 14:34:32 +01:00
parent eb9b375aa1
commit 409adef43c
3 changed files with 21 additions and 17 deletions
+1
View File
@@ -471,6 +471,7 @@ tls_t *tls_create(bool is_server, identification_t *server,
.application = application,
.purpose = purpose,
);
lib->settings->add_fallback(lib->settings, "%s.tls", "libtls", lib->ns);
this->crypto = tls_crypto_create(&this->public, cache);
this->alert = tls_alert_create();