Name Date Size #Lines LOC

..--

src/H25-Apr-2025-7,3754,580

Android.bpH A D25-Apr-20254.1 KiB135131

BUILD.gnH A D25-Apr-20251.7 KiB5247

DIR_METADATAH A D25-Apr-2025136 87

LICENSEH A D25-Apr-202511.1 KiB203169

METADATAH A D25-Apr-2025338 1312

MODULE_LICENSE_APACHE_2_0HD25-Apr-20250

README.chromiumH A D25-Apr-20251.7 KiB6353

README.chromium

1Name: Tomcat Native Fork for Netty
2Short Name: netty-tcnative
3URL: https://github.com/netty/netty-tcnative.git
4Version: 2.0.0.Final
5Date: March 9, 2017
6Revision: 28d9d70090f1b18927f4554621648cc1922d6e05
7License: Apache 2.0
8License File: LICENSE
9Security Critical: no
10Shipped: no
11The library is not security critical because it is used for tests only.
12Do not link it into production code.
13
14Description:
15    netty-tcnative is a fork of Tomcat Native. It includes a set of changes contributed
16    by Twitter, Inc, such as:
17
18    Simplified distribution and linkage of native library
19    Complete mavenization of the project
20    Improved OpenSSL support
21
22Local Modifications:
23
24diff --git a/c/sslcontext.c b/c/sslcontext.c
25index 5668298..25bfb6e 100644
26--- a/c/sslcontext.c
27+++ b/c/sslcontext.c
28@@ -1178,7 +1178,7 @@ static int SSL_cert_verify(X509_STORE_CTX *ctx, void *arg) {
29     tcn_ssl_ctxt_t *c = SSL_get_app_data2(ssl);
30     TCN_ASSERT(c != NULL);
31     tcn_ssl_verify_config_t* verify_config = SSL_get_app_data4(ssl);
32-    TCN_ASSERT(verify_confg != NULL);
33+    TCN_ASSERT(verify_config != NULL);
34
35     // Get a stack of all certs in the chain
36     STACK_OF(X509) *sk = ctx->untrusted;
37diff --git a/c/ssl_private.h b/c/ssl_private.h
38index e101f08..9cfe24a 100644
39--- a/c/ssl_private.h
40+++ b/c/ssl_private.h
41@@ -49,20 +49,21 @@
42 #endif
43
44 #include "apr_thread_rwlock.h"
45 #include "apr_atomic.h"
46 #include <stdbool.h>
47
48 /* OpenSSL headers */
49 #include <openssl/opensslv.h>
50 #include <openssl/ssl.h>
51 #include <openssl/err.h>
52+#include <openssl/hmac.h>
53 #include <openssl/x509.h>
54 #include <openssl/pem.h>
55 #include <openssl/pkcs12.h>
56 #include <openssl/crypto.h>
57 #include <openssl/evp.h>
58 #include <openssl/rand.h>
59 #include <openssl/x509v3.h>
60
61 #define ERR_LEN 256
62
63