Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
src/ | H | 25-Apr-2025 | - | 7,375 | 4,580 | |
Android.bp | H A D | 25-Apr-2025 | 4.1 KiB | 135 | 131 | |
BUILD.gn | H A D | 25-Apr-2025 | 1.7 KiB | 52 | 47 | |
DIR_METADATA | H A D | 25-Apr-2025 | 136 | 8 | 7 | |
LICENSE | H A D | 25-Apr-2025 | 11.1 KiB | 203 | 169 | |
METADATA | H A D | 25-Apr-2025 | 338 | 13 | 12 | |
MODULE_LICENSE_APACHE_2_0 | HD | 25-Apr-2025 | 0 | |||
README.chromium | H A D | 25-Apr-2025 | 1.7 KiB | 63 | 53 |
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