aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls/tortls.c
AgeCommit message (Collapse)Author
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-11-09Rename subsystem callback functions to make them consistentNick Mathewson
2018-11-05Make tortls use the subsystems interfaceNick Mathewson
This one only needs a shutdown right now.
2018-10-14In tor_tls_get_my_certs(), set cert ptrs even on failureNick Mathewson
Nothing should ever look at them on failure, but in some cases, the unit tests don't check for failure, and then GCC-LTO freaks out. Fixes part of 27772.
2018-09-04Merge branch 'nss_squashed' into nss_mergeNick Mathewson
2018-09-04Use FREE_AND_NULL for impl typesNick Mathewson
2018-09-04Remove tor_tls_check_lifetime as unused.Nick Mathewson
Everything that might have used it, uses tor_tls_cert_is_valid() instead.
2018-09-04Avoid spurious error logs when using NSSNick Mathewson
The tls_log_errors() function now behaves differently for NSS than it did for OpenSSL, so we need to tweak it a bit.
2018-09-04Initial NSS support for TLS.Nick Mathewson
This is enough to get a chutney network to bootstrap, though a bunch of work remains.
2018-08-22NSS support for x509 certsNick Mathewson
7 unit tests are failing at this point, but they're all TLS-related.
2018-08-21Merge branch 'maint-0.3.4'Nick Mathewson
2018-08-21Extract the non-generic part of tor_tls_context_decref().Nick Mathewson
2018-08-21Split tls modules and their tests into openssl and generic.Nick Mathewson
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.
2018-08-21Refactor some of the certificate-manipulation logicNick Mathewson
2018-08-21Extract tortls structures into a new header; clean up a littleNick Mathewson
2018-08-21Split X509 code out of tortls.cNick Mathewson
2018-08-21Rename openssl-bridging functions in crypto_rsaNick Mathewson
These functions exist only to expose RSA keys to other places in Tor that use OpenSSL; let's be specific about their purpose.
2018-07-31Refactor the dependency between tortls and crypto_dh.Nick Mathewson
We only ever need this to get us a DH ephemeral key object, so make a function that does just that.
2018-07-11Rename crypto.c to crypto_cipher.c (since that's all it still has.)Nick Mathewson
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-03Retire U64_TO_DBL and DBL_TO_U64Nick Mathewson
These were necessary long ago to work around a bug in VC6.
2018-06-28Remove all include common/ uses in crypto_ops and tls.Nick Mathewson
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-22Extract smartlist.h from container.hNick Mathewson
2018-06-22Rectify include paths after container split (automatic)Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Split crypto and tls libraries into directoriesNick Mathewson
I am calling the crypto library "crypt_ops", since I want higher-level crypto things to be separated from lower-level ones. This library will hold only the low-level ones, once we have it refactored.