Nick Mathewson
|
36f3bdac03
Update prefork and postfork NSS code for unit tests.
|
6 anos atrás |
Nick Mathewson
|
52ac539b99
Test a few more tortls.c functions
|
6 anos atrás |
Nick Mathewson
|
7163389b55
Several unit tests to improve test coverage of x509*.c
|
6 anos atrás |
Nick Mathewson
|
02086a216f
Remove tor_x509_get_cert_impl as unneeded.
|
6 anos atrás |
Nick Mathewson
|
b5fddbd241
Avoid double-close on TCP sockets under NSS.
|
6 anos atrás |
Nick Mathewson
|
c18967d6c8
changes file for our NSS support
|
6 anos atrás |
Nick Mathewson
|
52d5f4da12
Avoid spurious error logs when using NSS
|
6 anos atrás |
Nick Mathewson
|
dd04fc35c6
Remove tor_tls_shutdown()
|
6 anos atrás |
Nick Mathewson
|
5205c7fd90
Initial NSS support for TLS.
|
6 anos atrás |
Nick Mathewson
|
c567b8fcb4
NSS support for x509 certs
|
6 anos atrás |
Nick Mathewson
|
7c5339677f
Log error strings in crypto_nss_log_errors().
|
6 anos atrás |
Nick Mathewson
|
8148c0717d
Change log_test_helpers macros to use printf, not pasting
|
6 anos atrás |
Nick Mathewson
|
5245a296c5
Make some x509 functions generic; remove some fields NSS doesn't need
|
6 anos atrás |
Nick Mathewson
|
b9ca8f2356
Extract internal-only parts of x509.h
|
6 anos atrás |
Nick Mathewson
|
108d9879eb
Extract the non-generic part of tor_tls_context_decref().
|
6 anos atrás |
Nick Mathewson
|
96f8e19802
Implement PBKDF2 with NSS.
|
6 anos atrás |
Nick Mathewson
|
6a88d8f6b4
When enabling NSS, disable OpenSSL.
|
6 anos atrás |
Nick Mathewson
|
1992c76130
Split tls modules and their tests into openssl and generic.
|
6 anos atrás |
Nick Mathewson
|
91c1e88b7a
Refactor some of the certificate-manipulation logic
|
6 anos atrás |
Nick Mathewson
|
598bc78bfa
Extract tortls structures into a new header; clean up a little
|
6 anos atrás |
Nick Mathewson
|
9a4f05b05c
Split X509 code out of tortls.c
|
6 anos atrás |
Nick Mathewson
|
3ccb94d7b6
The RSA_free in this test is no longer needed or wanted
|
6 anos atrás |
Nick Mathewson
|
aa45511250
Implement RSA for NSS.
|
6 anos atrás |
Nick Mathewson
|
cb5cfe3177
Also reinitialize the pregenerated keys postfork.
|
6 anos atrás |
Nick Mathewson
|
b94e7de7db
Refactor crypto_rsa to use pem module.
|
6 anos atrás |
Nick Mathewson
|
9566ed6fd9
Add rudimentary support for PEM-encoding, since NSS doesn't do that.
|
6 anos atrás |
Nick Mathewson
|
0812f1cbc2
Use a constant for "65537"
|
6 anos atrás |
Nick Mathewson
|
824009cde5
Rename openssl-bridging functions in crypto_rsa
|
6 anos atrás |
Nick Mathewson
|
38212d2e40
Remove a redundant function.
|
6 anos atrás |
Nick Mathewson
|
0f971d7c91
Rename functions that encode/decode private keys
|
6 anos atrás |