aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-10-31 13:52:49 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-09 16:08:03 +0100
commit31b26934b01c3694973fdba771d0747997df3b25 (patch)
treea7fe4ff1730e6c54217cf0c7830410337654d84a /include/libssh
parent922a2aee991a45369a0894a5575cec6159b9ba30 (diff)
downloadlibssh-31b26934b01c3694973fdba771d0747997df3b25.tar.gz
libssh-31b26934b01c3694973fdba771d0747997df3b25.tar.xz
libssh-31b26934b01c3694973fdba771d0747997df3b25.zip
fe25519: Fix integer types of fe25519_iszero()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/fe25519.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/fe25519.h b/include/libssh/fe25519.h
index e959912e..438d85db 100644
--- a/include/libssh/fe25519.h
+++ b/include/libssh/fe25519.h
@@ -39,7 +39,7 @@ void fe25519_unpack(fe25519 *r, const unsigned char x[32]);
void fe25519_pack(unsigned char r[32], const fe25519 *x);
-int fe25519_iszero(const fe25519 *x);
+uint32_t fe25519_iszero(const fe25519 *x);
int fe25519_iseq_vartime(const fe25519 *x, const fe25519 *y);