diff options
author | tobhe@openbsd.org <tobhe@openbsd.org> | 2021-01-03 19:05:21 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-01-08 03:45:46 +0100 |
commit | 4d96a3ebab2224f17e639a15078e03be1ad3736d (patch) | |
tree | 7924eafde66c573d3d93835b044d2da0ca6fb4e6 /sntrup761.sh | |
parent | Undef int32 after sort routines. (diff) | |
download | openssh-4d96a3ebab2224f17e639a15078e03be1ad3736d.tar.xz openssh-4d96a3ebab2224f17e639a15078e03be1ad3736d.zip |
upstream: Prevent redefinition of `crypto_int32' error with gcc3.
Fixes compilation on luna88k.
Feedback millert@
Found by and ok aoyama@
OpenBSD-Commit-ID: f305ddfe575a26cc53431af3fde3f4aeebed9ba6
Diffstat (limited to 'sntrup761.sh')
-rw-r--r-- | sntrup761.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sntrup761.sh b/sntrup761.sh index 5ddea77a0..3ab303ab7 100644 --- a/sntrup761.sh +++ b/sntrup761.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: sntrup761.sh,v 1.2 2020/12/30 14:13:28 tobhe Exp $ +# $OpenBSD: sntrup761.sh,v 1.3 2021/01/03 18:05:21 tobhe Exp $ # Placed in the Public Domain. # AUTHOR="supercop-20201130/crypto_kem/sntrup761/ref/implementors" @@ -60,6 +60,7 @@ for i in $FILES; do -v '#include' $i | \ sed -e "s/crypto_kem_/crypto_kem_sntrup761_/g" \ -e "s/^extern void /static void /" \ - -e "s/^void /static void /" + -e "s/^void /static void /" \ + -e "/^typedef int32_t int32;$/d" echo done |