Nick Mathewson
|
ad94d43fc5
Port test_tortls_verify to not depend on openssl internals
|
5 éve |
Nick Mathewson
|
59c1b34b72
Remove tor_tls_check_lifetime as unused.
|
5 éve |
Nick Mathewson
|
3cdf0497f9
Add unit test for bridge-style TLS initialization.
|
5 éve |
Nick Mathewson
|
7acb8c8d18
Document winsock includes better
|
5 éve |
Nick Mathewson
|
70c27b7e39
Fix documentation of initialized fields in crypto_init.c
|
5 éve |
Nick Mathewson
|
3b10108a2a
Fix documentation of ENABLE_NSS
|
5 éve |
Nick Mathewson
|
edbb5ef5b2
Make some additional RSA functions const
|
5 éve |
Nick Mathewson
|
600e046ed3
Rename crypto_pk_check_key(), use it more reasonably, add tests
|
5 éve |
Nick Mathewson
|
3b5d6ef15b
Unify functions for reading/writing PEM keys, to avoid duplication.
|
5 éve |
Nick Mathewson
|
b892133fb9
Do not leave a certificate allocated after testing dirvote_add()
|
5 éve |
Nick Mathewson
|
f46a7eafb8
Do not leak a reference to "slot" when decoding private key.
|
5 éve |
Nick Mathewson
|
36f3bdac03
Update prefork and postfork NSS code for unit tests.
|
5 éve |
Nick Mathewson
|
52ac539b99
Test a few more tortls.c functions
|
5 éve |
Nick Mathewson
|
7163389b55
Several unit tests to improve test coverage of x509*.c
|
5 éve |
Nick Mathewson
|
02086a216f
Remove tor_x509_get_cert_impl as unneeded.
|
5 éve |
Nick Mathewson
|
b5fddbd241
Avoid double-close on TCP sockets under NSS.
|
5 éve |
Nick Mathewson
|
c18967d6c8
changes file for our NSS support
|
5 éve |
Nick Mathewson
|
52d5f4da12
Avoid spurious error logs when using NSS
|
5 éve |
Nick Mathewson
|
dd04fc35c6
Remove tor_tls_shutdown()
|
5 éve |
Nick Mathewson
|
5205c7fd90
Initial NSS support for TLS.
|
5 éve |
Nick Mathewson
|
c567b8fcb4
NSS support for x509 certs
|
5 éve |
Nick Mathewson
|
7c5339677f
Log error strings in crypto_nss_log_errors().
|
5 éve |
Nick Mathewson
|
8148c0717d
Change log_test_helpers macros to use printf, not pasting
|
5 éve |
Nick Mathewson
|
5245a296c5
Make some x509 functions generic; remove some fields NSS doesn't need
|
5 éve |
Nick Mathewson
|
b9ca8f2356
Extract internal-only parts of x509.h
|
5 éve |
Nick Mathewson
|
108d9879eb
Extract the non-generic part of tor_tls_context_decref().
|
5 éve |
Nick Mathewson
|
96f8e19802
Implement PBKDF2 with NSS.
|
5 éve |
Nick Mathewson
|
6a88d8f6b4
When enabling NSS, disable OpenSSL.
|
5 éve |
Nick Mathewson
|
1992c76130
Split tls modules and their tests into openssl and generic.
|
5 éve |
Nick Mathewson
|
91c1e88b7a
Refactor some of the certificate-manipulation logic
|
5 éve |