Skip to contentSkip to conversation

Change in openvpn[master]: repair const mismatch in siphash_openssl_available() prototype

Openvpn-devel In review Gert Doering (Code Review) via Openvpn-devel 2 participants 6 messages Oct 15 – Oct 16 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1792079013000.I9a3598382ecf928aa81f027b55352175ad93165c@gerrit.openvpn.net

#1 lore raw

Attention is currently required from: Arne Schwabe.

Hello Arne Schwabe,

I'd like you to do a code review.
Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2000?usp=email

to review the following change.

Change subject: repair const mismatch in siphash_openssl_available() prototype
......................................................................

repair const mismatch in siphash_openssl_available() prototype

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

---
M tests/unit_tests/openvpn/siphash_openssl.h

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/00/2000/1

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

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

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9a3598382ecf928aa81f027b55352175ad93165c
Gerrit-Change-Number: 2000
Gerrit-PatchSet: 1
Gerrit-Owner: Gert Doering <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Arne Schwabe <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: Gert Doering.

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

Change subject: repair const mismatch in siphash_openssl_available() prototype
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2000?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: I9a3598382ecf928aa81f027b55352175ad93165c
Gerrit-Change-Number: 2000
Gerrit-PatchSet: 1
Gerrit-Owner: Gert Doering <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: Gert Doering <[email protected]>
Gerrit-Comment-Date: Thu, 15 Oct 2026 19:13:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#3 lore raw

PATCH 1/1 repair const mismatch in siphash_openssl_available() prototype

In reply to a message not in the archive

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

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 <[email protected]>

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

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Acked-by Arne Schwabe on v1 1/1
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: repair const mismatch in siphash_openssl_available() prototype

In retrospective, applying 1999 before 1666 and then not paying enough attention to the "patch does not want to apply" hunks - one of them was "just the EOL", and the other was "the EOL, and the code line just before it"... *sigh*. Anyway, trivial enough fix, and this one *does* pass a local make check.

Patch has been applied to the master branch.

commit 50ac5998955c3931a2a241e75a0926bed5e2ebbb

Author: Gert Doering
Date:   Thu Oct 15 22:02:08 2026 +0200

repair const mismatch in siphash_openssl_available() prototype

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2000
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg39907.html

--
kind regards,

Gert Doering

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#5 lore raw
In reply to a message not in the archive

Hello Arne Schwabe,

I'd like you to reexamine a change. Please visit

    https://gerrit.openvpn.net/c/openvpn/+/2000?usp=email

to look at the new patch set (#2).

The following approvals got outdated and were removed:
Code-Review+2 by Arne Schwabe

Change subject: repair const mismatch in siphash_openssl_available() prototype
......................................................................

repair const mismatch in siphash_openssl_available() prototype

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

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2000
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg39907.html

---
M tests/unit_tests/openvpn/siphash_openssl.h

1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/00/2000/2

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

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

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9a3598382ecf928aa81f027b55352175ad93165c
Gerrit-Change-Number: 2000
Gerrit-PatchSet: 2
Gerrit-Owner: Gert Doering <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#6 lore raw
In reply to a message not in the archive

Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2000?usp=email )

Change subject: repair const mismatch in siphash_openssl_available() prototype
......................................................................

repair const mismatch in siphash_openssl_available() prototype

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

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2000
Message-Id: <[email protected]>
URL: https://www.mail-archive.com/[email protected]/msg39907.html

---
M tests/unit_tests/openvpn/siphash_openssl.h

1 file changed, 1 insertion(+), 1 deletion(-)
tests/unit_tests/openvpn/siphash_openssl.h +1 -1
index 49c6a9d..a44457e 100644
@@ -60,5 +60,5 @@
  *
  */
 bool
-siphash_openssl_available(void *sip_context);
+siphash_openssl_available(const void *sip_context);
 #endif /* ifndef SIPHASH_OPENSSL_H */

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

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I9a3598382ecf928aa81f027b55352175ad93165c
Gerrit-Change-Number: 2000
Gerrit-PatchSet: 2
Gerrit-Owner: Gert Doering <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>

_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel