From: "cron2 (Code Review)" Date: Fri, 13 Mar 2026 17:41:26 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <2f58f0b05d15df75095de06b8473d888772129ea-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="5HLn0n/hbHM="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: AWS-LC: Add missing return and cast in ssl_tls1_PRF List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --5HLn0n/hbHM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#4) to the change originally created by= plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1567?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: AWS-LC: Add missing return and cast in ssl_tls1_PRF ...................................................................... AWS-LC: Add missing return and cast in ssl_tls1_PRF Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1567 Message-Id: <20260313153034.31872-1-gert@...1296...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg36= 107.html Signed-off-by: Gert Doering --- M src/openvpn/crypto_openssl.c 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/67/1567/4 diff --git a/src/openvpn/crypto_openssl.c b/src/openvpn/crypto_openssl.c index de3878d..b6e2106 100644 --- a/src/openvpn/crypto_openssl.c +++ b/src/openvpn/crypto_openssl.c @@ -1412,7 +1412,8 @@ ssl_tls1_PRF(const uint8_t *label, size_t label_len, const uint8_t *sec, s= ize_t slen, uint8_t *out1, size_t olen) { - CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, label, label_le= n, NULL, 0, NULL, 0); + return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec, slen, + (const char *)label, label_len, NULL, 0, NULL, = 0); } #elif !defined(LIBRESSL_VERSION_NUMBER) && !defined(ENABLE_CRYPTO_WOLFSSL) #if defined(__GNUC__) || defined(__clang__) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: newpatchset Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I7843ff1422cc3b46870749b2daab1698646d43eb Gerrit-Change-Number: 1567 Gerrit-PatchSet: 4 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel --5HLn0n/hbHM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 upl= oaded patch set #4 to the change originally created by plaisthos.<= /p>

Vi= ew Change

The following approvals got outdated and were removed: Code-Review+2 by flichtenheld

AWS-LC: Add missing return a=
nd cast in ssl_tls1_PRF

Change-Id: I7843ff1422cc3b46870749b2daab1698= 646d43eb
Signed-off-by: Arne Schwabe <arne-openvpn@...1227...>
= Acked-by: Frank Lichtenheld <frank@...2641...>
Gerrit URL: https:/= /gerrit.openvpn.net/c/openvpn/+/1567
Message-Id: <20260313153034.3187= 2-1-gert@...1296...>
URL: https://www.mail-archive.com/openvpn-devel@= lists.sourceforge.net/msg36107.html
Signed-off-by: Gert Doering <gert= @...1296...>
---
M src/openvpn/crypto_openssl.c
1 file changed,= 2 insertions(+), 1 deletion(-)

git pull ssh://g=
errit.openvpn.net:29418/openvpn refs/changes/67/1567/4
diff --git a=
/src/openvpn/crypto_openssl.c b/src/openvpn/crypto_openssl.c
index de3878d..b6e2106 100644
--- a/src/openvpn/crypto_op= enssl.c
+++ b/src/openvpn/crypto_openssl.c
= @@ -1412,7 +1412,8 @@
ssl_tls1_PRF(const uint8_t *label, s= ize_t label_len, const uint8_t *sec, size_t slen, uint8_t *out1,
= size_t olen)
{
- CRYPTO_tls1_prf(EVP_md5_sha1(), out1, o= len, sec, slen, label, label_len, NULL, 0, NULL, 0);
+ return CRYPTO_tls1_prf(EVP_md5_sha1()= , out1, olen, sec, slen,
+ (const char *)label, label_len, NULL, 0, NU= LL, 0);
}
#elif !defined(LIBRESSL_VERSION= _NUMBER) && !defined(ENABLE_CRYPTO_WOLFSSL)
#if de= fined(__GNUC__) || defined(__clang__)

T= o view, visit change 1567. To unsubscribe, or for help writing mail filters, vi= sit settings= .

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daa= b1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
= --5HLn0n/hbHM=--