mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
stunnel: fix build after ssl23.h removal
reminded by naddy
This commit is contained in:
@@ -55,3 +55,13 @@ Index: src/ctx.c
|
||||
OSSL_HANDSHAKE_STATE state=SSL_get_state(ssl);
|
||||
#else
|
||||
int state=SSL_get_state((SSL *)ssl);
|
||||
@@ -1574,8 +1574,7 @@ NOEXPORT void info_callback(const SSL *ssl, int where,
|
||||
#ifndef SSL3_ST_SR_CLNT_HELLO_A
|
||||
if(state==TLS_ST_SR_CLNT_HELLO) {
|
||||
#else
|
||||
- if(state==SSL3_ST_SR_CLNT_HELLO_A
|
||||
- || state==SSL23_ST_SR_CLNT_HELLO_A) {
|
||||
+ if(state==SSL3_ST_SR_CLNT_HELLO_A) {
|
||||
#endif
|
||||
/* client hello received after initial handshake,
|
||||
* this means renegotiation -> mark it */
|
||||
|
||||
Reference in New Issue
Block a user