Attention is currently required from: Arne Schwabe, Hansaem Wi.
Gert Doering has posted comments on this change by Hansaem Wi. (
https://gerrit.openvpn.net/c/openvpn/+/2077?usp=email )
Change subject: crypto_openssl: Clear PEM decoded key data before freeing it
......................................................................
Patch Set 1: Code-Review-2
(1 comment)
Patchset:
PS1:
It breaks LibreSSL builds... (why am I not surprised?)
```
crypto_openssl.c: In function ‘crypto_pem_decode’:
60
crypto_openssl.c:564:5: error: implicit declaration of function
‘OPENSSL_clear_free’; did you mean ‘OPENSSL_cleanse’?
[-Werror=implicit-function-declaration]
61
564 | OPENSSL_clear_free(data_read, data_read_len);
62
| ^~~~~~~~~~~~~~~~~~
63
| OPENSSL_cleanse
```
can we add compat code to provide OPENSSL_clear_free() if it's not there? Or
maybe it just makes more sense to make this two lines, `OPENSSL_cleanse()` and
then `OPENVPN_free()` - compat code for a single occurance is not really a good
trade-off.
--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2077?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: master
Gerrit-Change-Id: I6b42785de99ee1e6b555d8c5e61ebe2ae784510e
Gerrit-Change-Number: 2077
Gerrit-PatchSet: 1
Gerrit-Owner: Hansaem Wi <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Gert Doering <[email protected]>
Gerrit-Reviewer: Steffan Karger <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Hansaem Wi <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>
Gerrit-Comment-Date: Mon, 02 Nov 2026 09:42:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel