]> git.codecow.com Git - Monocypher.git/commitdiff
Const correctness
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 2 Nov 2018 16:27:41 +0000 (17:27 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 2 Nov 2018 16:27:41 +0000 (17:27 +0100)
tests/utils.h

index 9d20a426b19b1ecce6ab433e0c69fc955fbd42e9..ee04f48a2379cb290bc0ad7c4847666bea6ea8ba 100644 (file)
@@ -61,7 +61,7 @@ void p_random(u8 *stream, size_t size)
     }
 }
 
-void print_vector(u8 *buf, size_t size)
+void print_vector(const u8 *buf, size_t size)
 {
     FOR (i, 0, size) {
         printf("%x%x", buf[i] >> 4, buf[i] & 0x0f);