fix file headers & footers
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
diff --git a/bn_mp_decr.c b/bn_mp_decr.c
index b57f5d0..edf65f4 100644
--- a/bn_mp_decr.c
+++ b/bn_mp_decr.c
@@ -40,9 +40,8 @@ int mp_decr(mp_int *a)
}
return mp_sub_d(a, 1uL,a);
}
-
-
#endif
-/* ref: \$Format:\%D$ */
-/* git commit: \$Format:\%H$ */
-/* commit time: \$Format:\%ai$ */
+
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */
diff --git a/bn_mp_incr.c b/bn_mp_incr.c
index b7cd24a..adecb25 100644
--- a/bn_mp_incr.c
+++ b/bn_mp_incr.c
@@ -35,8 +35,8 @@ int mp_incr(mp_int *a)
}
return mp_add_d(a, 1uL,a);
}
-
#endif
-/* ref: \$Format:\%D$ */
-/* git commit: \$Format:\%H$ */
-/* commit time: \$Format:\%ai$ */
+
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */
diff --git a/bn_mp_iseven.c b/bn_mp_iseven.c
index 4dc72a4..9532fdd 100644
--- a/bn_mp_iseven.c
+++ b/bn_mp_iseven.c
@@ -9,8 +9,7 @@
* Michael Fromberger but has been written from scratch with
* additional optimizations in place.
*
- * The library is free for all purposes without any express
- * guarantee it works.
+ * SPDX-License-Identifier: Unlicense
*/
int mp_iseven(const mp_int *a)
diff --git a/bn_mp_isodd.c b/bn_mp_isodd.c
index 4a3942c..007b6dd 100644
--- a/bn_mp_isodd.c
+++ b/bn_mp_isodd.c
@@ -9,8 +9,7 @@
* Michael Fromberger but has been written from scratch with
* additional optimizations in place.
*
- * The library is free for all purposes without any express
- * guarantee it works.
+ * SPDX-License-Identifier: Unlicense
*/
int mp_isodd(const mp_int *a)