Added
Link Here
|
1 |
--- src/main/cb.c.orig 2021-07-25 08:01:13 UTC |
2 |
+++ src/main/cb.c |
3 |
@@ -64,7 +64,7 @@ void cbtls_info(SSL const *s, int where, int ret) |
4 |
/* |
5 |
* After a ClientHello, list all the proposed ciphers from the client |
6 |
*/ |
7 |
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L |
8 |
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) |
9 |
if (SSL_get_state(s) == TLS_ST_SR_CLNT_HELLO) { |
10 |
int i; |
11 |
int num_ciphers; |
12 |
@@ -174,7 +174,7 @@ void cbtls_msg(int write_p, int msg_version, int conte |
13 |
state->info.alert_level = 0x00; |
14 |
state->info.alert_description = 0x00; |
15 |
|
16 |
-#if OPENSSL_VERSION_NUMBER >= 0x10101000L |
17 |
+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER) |
18 |
} else if (content_type == SSL3_RT_INNER_CONTENT_TYPE && buf[0] == SSL3_RT_APPLICATION_DATA) { |
19 |
/* let tls_ack_handler set application_data */ |
20 |
state->info.content_type = SSL3_RT_HANDSHAKE; |