[Openvpn-devel,v1] repair const mismatch in siphash_openssl_available() prototype

Message ID 20261015200214.32007-1-gert@greenie.muc.de
State New
Headers
Series [Openvpn-devel,v1] repair const mismatch in siphash_openssl_available() prototype |

Commit Message

Gert Doering Oct. 15, 2026, 8:02 p.m. UTC
  commit 571caa34e2f added the "const" to the function declaration but
for whatever reason the necessary change in the prototype was lost, so
"make check" failsed to compile the siphash parts of crypto_testdriver.

Fix.

Change-Id: I9a3598382ecf928aa81f027b55352175ad93165c
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2000
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2000
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Arne Schwabe <arne-openvpn@rfc2549.org>
  

Patch

diff --git a/tests/unit_tests/openvpn/siphash_openssl.h b/tests/unit_tests/openvpn/siphash_openssl.h
index 49c6a9d..a44457e 100644
--- a/tests/unit_tests/openvpn/siphash_openssl.h
+++ b/tests/unit_tests/openvpn/siphash_openssl.h
@@ -60,5 +60,5 @@ 
  *
  */
 bool
-siphash_openssl_available(void *sip_context);
+siphash_openssl_available(const void *sip_context);
 #endif /* ifndef SIPHASH_OPENSSL_H */