Split tls modules and their tests into openssl and generic.
commit1992c761308538cffea64abecc9e45cbd47b1bda
authorNick Mathewson <nickm@torproject.org>
Sun, 12 Aug 2018 20:04:12 +0000 (12 16:04 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 21 Aug 2018 16:25:33 +0000 (21 12:25 -0400)
tree8da2f153c684bc8b92445cec5c506d4b747d1376
parent91c1e88b7a6d41f93f88cd8754746c836b25721f
Split tls modules and their tests into openssl and generic.

Also, add a stubbed-out nss version of the modules.  The tests won't
pass with NSS yet since the NSS modules don't do anything.

This is a good patch to read with --color-moved.
15 files changed:
src/lib/tls/include.am
src/lib/tls/tortls.c
src/lib/tls/tortls.h
src/lib/tls/tortls_internal.h [new file with mode: 0644]
src/lib/tls/tortls_nss.c [new file with mode: 0644]
src/lib/tls/tortls_openssl.c [copied from src/lib/tls/tortls.c with 93% similarity]
src/lib/tls/x509.c
src/lib/tls/x509.h
src/lib/tls/x509_nss.c [new file with mode: 0644]
src/lib/tls/x509_openssl.c [copied from src/lib/tls/x509.c with 84% similarity]
src/test/include.am
src/test/test.c
src/test/test.h
src/test/test_tortls.c
src/test/test_tortls_openssl.c [copied from src/test/test_tortls.c with 91% similarity]