]> git.codecow.com Git - Monocypher.git/commitdiff
80 columns OCD
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 10 Jun 2018 18:10:35 +0000 (20:10 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 10 Jun 2018 18:10:35 +0000 (20:10 +0200)
tests/test.c

index aed4b26707c389400c9827a075e469dee56dd801..608176680937e18d5492a4a0be67146c0f6dfd5e 100644 (file)
@@ -166,8 +166,8 @@ static void x25519(const vector in[], vector *out)
     const vector *point  = in + 1;
     int report   = crypto_x25519(out->buf, scalar->buf, point->buf);
     int not_zero = zerocmp(out->buf, out->size);
-    if ( not_zero &&  report)  printf("FAILURE: x25519 false all_zero report\n");
-    if (!not_zero && !report)  printf("FAILURE: x25519 failed to report zero\n");
+    if ( not_zero &&  report) printf("FAILURE: x25519 false all_zero report\n");
+    if (!not_zero && !report) printf("FAILURE: x25519 failed to report zero\n");
 }
 
 static void key_exchange(const vector in[], vector *out)