build: factor out NSS specific modules
commit3e623ca520099e8ad9efa410ce38020a4609d1d5
authorStefan Becker <chemobejk@gmail.com>
Tue, 8 Nov 2011 15:09:43 +0000 (8 17:09 +0200)
committerStefan Becker <chemobejk@gmail.com>
Tue, 8 Nov 2011 15:33:10 +0000 (8 17:33 +0200)
treeade092fa44175acd06c87fc44e5528280df3fa15
parent5e7c0db72cc6da053b7268162338349f4215dfc1
build: factor out NSS specific modules

NSS specific crypto implementation modules sipe-crypt/digest.c have been
renamed to sipe-crypt/digest-nss.c. Only these modules use NSS headers
and are the only ones compiled with NSS flags now.

The code base is now ready for alternative crypto implementations if
this should become necessary. Potential candidates are:

   GnuTLS       i.e. sipe-crypt-gnutls.c
   OpenSSL      i.e. sipe-crypt-openssl.c
siplcs.vcproj
src/core/Makefile.am
src/core/Makefile.mingw
src/core/sipe-crypt-nss.c [moved from src/core/sipe-crypt.c with 99% similarity]
src/core/sipe-digest-nss.c [moved from src/core/sipe-digest.c with 99% similarity]
src/purple/Makefile.am