Fix the parameter type of gf_serialize
[openssl.git] / crypto / ec / curve448 / f_generic.c
index 4c571810d3afcf71a554cfbf115b3c8c579e00b7..7bb7df6b6015151c2bcdf1ca31c53dc1fdcec3d5 100644 (file)
@@ -18,7 +18,7 @@ static const gf MODULUS = {
 };
 
 /* Serialize to wire format. */
-void gf_serialize(uint8_t *serial, const gf x, int with_hibit)
+void gf_serialize(uint8_t serial[SER_BYTES], const gf x, int with_hibit)
 {
     unsigned int j = 0, fill = 0;
     dword_t buffer = 0;