[sr-dev] git:master: tls: relative file path support & license changes

Andrei Pelinescu-Onciul andrei at iptel.org
Tue Sep 7 18:40:13 CEST 2010


Module: sip-router
Branch: master
Commit: 629cba2015ecf837a972070a55c5f02bdefed107
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=629cba2015ecf837a972070a55c5f02bdefed107

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Tue Sep  7 17:43:26 2010 +0200

tls: relative file path support & license changes

- support relative path for private_key, ca_list and certificate.
If the filename starts with  '.' or '..' the path will be
considered to be relative to the working directory (otherwise if
it does not start with '/' it will be relative to the main ser.cfg
 file directory). The relative path is supported both for modparam
 and for value loaded from the tls.cfg file.

- BSDed and removed FSF (c) from tls_domain.[ch] (the only code
  remaining somewhat similar with the tls experimental module is
  1 typedef).

---

 modules/tls/tls_cfg.c    |   16 ++++++-
 modules/tls/tls_config.c |    5 ++-
 modules/tls/tls_domain.c |  102 +++++++++++++++++++++++++++++++---------------
 modules/tls/tls_domain.h |   39 ++++++-----------
 4 files changed, 100 insertions(+), 62 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=629cba2015ecf837a972070a55c5f02bdefed107



More information about the sr-dev mailing list