summaryrefslogtreecommitdiffstats
path: root/crypto/ec
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2021-08-22 21:28:51 +0200
committerTomas Mraz <tomas@openssl.org>2021-08-25 17:27:02 +0200
commit18622c7625436d7f99c0f51895c4d3cea233c62e (patch)
treedfb571b5c6c7f30ef00edbdf2f2f0de456ea0db0 /crypto/ec
parentcf2b1d6f11aa7ec4aa909ff1ecb9bee6892285d9 (diff)
Fix some strict gcc-12 warnings
Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16375)
Diffstat (limited to 'crypto/ec')
-rw-r--r--crypto/ec/curve448/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/curve448/field.h b/crypto/ec/curve448/field.h
index ccd04482d2..4ce263d436 100644
--- a/crypto/ec/curve448/field.h
+++ b/crypto/ec/curve448/field.h
@@ -62,7 +62,7 @@ mask_t gf_eq(const gf x, const gf y);
mask_t gf_lobit(const gf x);
mask_t gf_hibit(const gf x);
-void gf_serialize(uint8_t *serial, const gf x, int with_highbit);
+void gf_serialize(uint8_t serial[SER_BYTES], const gf x, int with_highbit);
mask_t gf_deserialize(gf x, const uint8_t serial[SER_BYTES], int with_hibit,
uint8_t hi_nmask);