diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-13 10:18:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-14 12:44:56 -0400 |
commit | 126819c94702df2b0eb8cbfaaf4ad81873b94019 (patch) | |
tree | 1e80f3086613e209b15a5057e52748d3180f5143 /src/lib/tls/include.am | |
parent | 4b646e30d8364e56fb6ae4ce5850f01e714eabcb (diff) | |
download | tor-126819c94702df2b0eb8cbfaaf4ad81873b94019.tar.gz tor-126819c94702df2b0eb8cbfaaf4ad81873b94019.zip |
Add support for lower-level byte counting with NSS
This is harder than with OpenSSL, since OpenSSL counts the bytes on
its own and NSS doesn't. To fix this, we need to define a new
PRFileDesc layer that has its own byte-counting support.
Closes ticket 27289.
Diffstat (limited to 'src/lib/tls/include.am')
-rw-r--r-- | src/lib/tls/include.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/tls/include.am b/src/lib/tls/include.am index b25e2e16bf..a664b29fb2 100644 --- a/src/lib/tls/include.am +++ b/src/lib/tls/include.am @@ -12,6 +12,7 @@ src_lib_libtor_tls_a_SOURCES = \ if USE_NSS src_lib_libtor_tls_a_SOURCES += \ + src/lib/tls/nss_countbytes.c \ src/lib/tls/tortls_nss.c \ src/lib/tls/x509_nss.c else @@ -31,6 +32,7 @@ src_lib_libtor_tls_testing_a_CFLAGS = \ noinst_HEADERS += \ src/lib/tls/ciphers.inc \ src/lib/tls/buffers_tls.h \ + src/lib/tls/nss_countbytes.h \ src/lib/tls/tortls.h \ src/lib/tls/tortls_internal.h \ src/lib/tls/tortls_st.h \ |