]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Use openssl_err_t typedef to deal with difference between TLS libraries
authorArne Schwabe <arne@rfc2549.org>
Sun, 22 Mar 2026 11:11:15 +0000 (12:11 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 22 Mar 2026 11:59:19 +0000 (12:59 +0100)
commitee2af6655d1dae8b87d8128e2afeec4f5506d79b
treeb8427a9422985691cea8fa7ea2399b607b284299
parenta84f8cf60c753589156a5df28d1cc642d5160934
Use openssl_err_t typedef to deal with difference between TLS libraries

AWS-LC and OpenSSL disagree on the type of that errors are reported in.

Instead of having a lot of glue code and casting back and forth, use a
typedef to always use the right type.

Change-Id: I4adbdf0c8b82fd7de309aa5f6f3b0c8157c5ffe7
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1578
Message-Id: <20260322111131.8251-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg36242.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_openssl.c
src/openvpn/openssl_compat.h