From: Gert Doering Date: Tue, 26 Aug 2025 20:41:38 +0200 Message-ID: <20250826184148.21534-1-gert@...1296...> In-Reply-To: References: MIME-Version: 1.0 Subject: [Openvpn-devel] [PATCH v7] ssl_openssl: Fix type of sslopts argument to SSL_CTX_set_options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net From: Frank Lichtenheld The argument changed type in OpenSSL 3.0. Change-Id: Ia5e0aad8a97d38f8d309a29ecfe3c578edff9595 Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe --- This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master. Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1101 This mail reflects revision 7 of this Change. Acked-by according to Gerrit (reflected above): Arne Schwabe diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c index 1948d12..aa1ac11 100644 --- a/src/openvpn/ssl_openssl.c +++ b/src/openvpn/ssl_openssl.c @@ -308,7 +308,7 @@ ASSERT(NULL != ctx); /* process SSL options */ - long sslopt = SSL_OP_SINGLE_DH_USE | SSL_OP_NO_TICKET; + uint64_t sslopt = SSL_OP_SINGLE_DH_USE | SSL_OP_NO_TICKET; #ifdef SSL_OP_CIPHER_SERVER_PREFERENCE sslopt |= SSL_OP_CIPHER_SERVER_PREFERENCE; #endif