Skip to content

Commit 80c5cde

Browse files
flichtenheldcron2
authored andcommitted
ssl_openssl: Fix type of sslopts argument to SSL_CTX_set_options
The argument changed type in OpenSSL 3.0. Change-Id: Ia5e0aad8a97d38f8d309a29ecfe3c578edff9595 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org> Message-Id: <20250826184148.21534-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32690.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
1 parent a01c909 commit 80c5cde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openvpn/ssl_openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ tls_ctx_set_options(struct tls_root_ctx *ctx, unsigned int ssl_flags)
308308
ASSERT(NULL != ctx);
309309

310310
/* process SSL options */
311-
long sslopt = SSL_OP_SINGLE_DH_USE | SSL_OP_NO_TICKET;
311+
uint64_t sslopt = SSL_OP_SINGLE_DH_USE | SSL_OP_NO_TICKET;
312312
#ifdef SSL_OP_CIPHER_SERVER_PREFERENCE
313313
sslopt |= SSL_OP_CIPHER_SERVER_PREFERENCE;
314314
#endif

0 commit comments

Comments
 (0)