Attention is currently required from: Arne Schwabe, Steffan Karger.

Gert Doering has posted comments on this change by Steffan Karger. ( 
https://gerrit.openvpn.net/c/openvpn/+/1998?usp=email )

Change subject: Check for null-bytes in certificate subjects
......................................................................


Patch Set 2: Code-Review-1

(1 comment)

Patchset:

PS2:
>From what I'm reading in the build failure logs, this fails macOS builds due 
>to OpenSSL 4.0

```
essl_openssl.c:638:11: error: 'X509_cmp_time' is deprecated 
[-Werror,-Wdeprecated-declarations]
e  638 |     ret = X509_cmp_time(X509_get0_notBefore(cert), NULL);
e      |           ^
essl_openssl.c:1102:35: error: 'X509_STORE_get0_objects' is deprecated 
[-Werror,-Wdeprecated-declarations]
e 1102 |     STACK_OF(X509_OBJECT) *objs = X509_STORE_get0_objects(store);
e      |                                   ^
essl_openssl.c:1627:24: error: assigning to 'X509_NAME *' (aka 'struct 
X509_name_st *') from 'const X509_NAME *' (aka 'const struct X509_name_st *') 
discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
e 1627 |                     xn = X509_get_subject_name(info->x509);
e      |                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

(more lines to the same effect).  Not sure if this was introduced by the patch, 
or is just that we didn't add anything for 2.6 in a while and macOS was 
upgraded to 4 behind our backs.

It also fails the "mbedtls 4 only" buildbots, which is a general 2.6 problem 
and not a problem of this patch.



--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/1998?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: release/2.6
Gerrit-Change-Id: I88b17af9988aa640ca04c765b6e79dd1c8f822c7
Gerrit-Change-Number: 1998
Gerrit-PatchSet: 2
Gerrit-Owner: Steffan Karger <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Gert Doering <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Steffan Karger <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Sat, 31 Oct 2026 16:53:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to