Skip to content

Commit

Permalink
Allow BAREOS to interface to multiple crypto libs.
Browse files Browse the repository at this point in the history
OPENSSL gives all kind of headaches as its not compatible to AGPLv3 and
as such you always need a linkage exception in your LICENSE. Allowing
to interface to GNUTLS (LGPL) or Mozilla NSS (MPL/GPL/LGPL) makes this
probem much easier to swallow. This is the first work to allow either
one of the following crypto/TLS frameworks:

- None
- OpenSSL
- GNUTLS
- Mozilla NSS

Also only link and include the crypto specific headers and libs in
the place that actually defines the abstraction layer and not all over
the code.
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent d35282e commit e215437
Show file tree
Hide file tree
Showing 43 changed files with 3,971 additions and 2,175 deletions.
9 changes: 6 additions & 3 deletions autoconf/Make.common.in
Expand Up @@ -78,9 +78,9 @@ LIBTOOL_UNINSTALL = @LIBTOOL@ --silent --tag=$(LIBTOOL_TAG) --mode=uninstall
LIBTOOL_CLEAN = @LIBTOOL@ --silent --tag=$(LIBTOOL_TAG) --mode=clean

# Flags & libs
CFLAGS = @CFLAGS@ @OPENSSL_INC@
CXXFLAGS = @CXXFLAGS@ @OPENSSL_INC@
CPPFLAGS = @CPPFLAGS@ @OPENSSL_INC@
CFLAGS = @CFLAGS@
CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
TTOOL_LDFLAGS = @TTOOL_LDFLAGS@
#DEFS = @DEFS@ @LOCAL_DEFS@
Expand All @@ -89,7 +89,10 @@ WRAPLIBS = @WRAPLIBS@
DINCLUDE = @DINCLUDE@
DLIB = @DLIB@
PYTHON_LIBS = @PYTHON_LIBS@
OPENSSL_INCLUDES = @OPENSSL_INC@
OPENSSL_LIBS = @OPENSSL_LIBS@
GNUTLS_INCLUDES = @GNUTLS_INC@
GNUTLS_LIBS = @GNUTLS_LIBS@
DLLIBS = @LIBADD_DLOPEN@


Expand Down

0 comments on commit e215437

Please sign in to comment.