From: "plaisthos (Code Review)" Date: Fri, 13 Mar 2026 13:43:14 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <5486d66cdbeb2e183cfd5431c3063149481f28ec-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="1F8G5mIrLcA="; 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: flichtenheld Cc: openvpn-devel --1F8G5mIrLcA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, plaisthos. Hello flichtenheld, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/1567?usp=3Demail to look at the new patch set (#3). 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 --- 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/3 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: 3 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld --1F8G5mIrLcA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, plaisthos.

plaisthos uploaded patch set #3 to this change.

<= a href=3D"http://gerrit.openvpn.net/c/openvpn/+/1567?usp=3Demail">View Chan= ge

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
---
M src/openvpn/crypto_openssl.c
1 file changed, 2 inse= rtions(+), 1 deletion(-)

git pull ssh://gerrit.o=
penvpn.net:29418/openvpn refs/changes/67/1567/3
diff --git a/src/op=
envpn/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
@@ -141= 2,7 +1412,8 @@
ssl_tls1_PRF(const uint8_t *label, size_t l= abel_len, const uint8_t *sec, size_t slen, uint8_t *out1,
= size_t olen)
{
- CRYPTO_tls1_prf(EVP_md5_sha1(), out1, olen, sec,= slen, label, label_len, NULL, 0, NULL, 0);
+ return CRYPTO_tls1_prf(EVP_md5_sha1(), out1, ol= en, sec, slen,
+ = (const char *)label, label_len, NULL, 0, NULL, 0);
}
#elif !defined(LIBRESSL_VERSION_NUMBER) &= amp;& !defined(ENABLE_CRYPTO_WOLFSSL)
#if defined(__GN= UC__) || defined(__clang__)

To view, vi= sit chan= ge 1567. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I7843ff1422cc3b46870749b2daa= b1698646d43eb
Gerrit-Change-Number: 1567
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
= --1F8G5mIrLcA=--