Skip to content

Commit c14bcf4

Browse files
authored
Merge pull request #233 from libtom/cleanup/2
Second general clean-up
2 parents 2fd5808 + 18c00dd commit c14bcf4

466 files changed

Lines changed: 1903 additions & 1904 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ if [ -a testok.txt ] && [ -f testok.txt ]; then
5454
fi
5555
exit 1
5656
57-
# $Source$
58-
# $Revision$
59-
# $Date$
57+
# ref: $Format:%D$
58+
# git commit: $Format:%H$
59+
# commit time: $Format:%ai$

check_source.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ echo "checking..."
1010

1111
exit 0
1212

13-
# $Source$
14-
# $Revision$
15-
# $Date$
13+
# ref: $Format:%D$
14+
# git commit: $Format:%H$
15+
# commit time: $Format:%ai$

coverage.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ fi
4646

4747
exit 0
4848

49-
# $Source$
50-
# $Revision$
51-
# $Date$
49+
# ref: $Format:%D$
50+
# git commit: $Format:%H$
51+
# commit time: $Format:%ai$

coverage_more.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ fi
1919

2020
exit 0
2121

22-
# $Source$
23-
# $Revision$
24-
# $Date$
22+
# ref: $Format:%D$
23+
# git commit: $Format:%H$
24+
# commit time: $Format:%ai$

demos/constants.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*
66
* The library is free for all purposes without any express
77
* guarantee it works.
8-
*
9-
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
108
*/
119
#include "tomcrypt.h"
1210

@@ -49,6 +47,6 @@ int main(void) {
4947
}
5048

5149

52-
/* $Source$ */
53-
/* $Revision$ */
54-
/* $Date$ */
50+
/* ref: $Format:%D$ */
51+
/* git commit: $Format:%H$ */
52+
/* commit time: $Format:%ai$ */

demos/hashsum.c

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2+
*
3+
* LibTomCrypt is a library that provides various cryptographic
4+
* algorithms in a highly modular and flexible manner.
5+
*
6+
* The library is free for all purposes without any express
7+
* guarantee it works.
8+
*/
9+
110
/*
211
* Written by Daniel Richards <kyhwana@world-net.co.nz> 6/7/2002
312
* hash.c: This app uses libtomcrypt to hash either stdin or a file
@@ -260,6 +269,6 @@ int main(int argc, char **argv)
260269
return EXIT_SUCCESS;
261270
}
262271

263-
/* $Source$ */
264-
/* $Revision$ */
265-
/* $Date$ */
272+
/* ref: $Format:%D$ */
273+
/* git commit: $Format:%H$ */
274+
/* commit time: $Format:%ai$ */

demos/ltcrypt.c

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2+
*
3+
* LibTomCrypt is a library that provides various cryptographic
4+
* algorithms in a highly modular and flexible manner.
5+
*
6+
* The library is free for all purposes without any express
7+
* guarantee it works.
8+
*/
9+
110
/* encrypt V1.1 Fri Oct 18 04:28:03 NZDT 2002 */
211
/* File de/encryption, using libtomcrypt */
312
/* Written by Daniel Richards <kyhwana@world-net.co.nz> */
@@ -190,6 +199,6 @@ int main(int argc, char *argv[])
190199
return 0;
191200
}
192201

193-
/* $Source$ */
194-
/* $Revision$ */
195-
/* $Date$ */
202+
/* ref: $Format:%D$ */
203+
/* git commit: $Format:%H$ */
204+
/* commit time: $Format:%ai$ */

demos/openssl-enc.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2+
*
3+
* LibTomCrypt is a library that provides various cryptographic
4+
* algorithms in a highly modular and flexible manner.
5+
*
6+
* The library is free for all purposes without any express
7+
* guarantee it works.
8+
*/
9+
110
/*
211
* Demo to do the rough equivalent of:
312
*
@@ -382,3 +391,7 @@ int main(int argc, char *argv[]) {
382391
fclose(infd); fclose(outfd);
383392
return 0;
384393
}
394+
395+
/* ref: $Format:%D$ */
396+
/* git commit: $Format:%H$ */
397+
/* commit time: $Format:%ai$ */

demos/sizes.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*
66
* The library is free for all purposes without any express
77
* guarantee it works.
8-
*
9-
* Tom St Denis, tomstdenis@gmail.com, http://libtom.org
108
*/
119
#include "tomcrypt.h"
1210

@@ -42,7 +40,6 @@ int main(void) {
4240
return 0;
4341
}
4442

45-
46-
/* $Source: $ */
47-
/* $Revision: $ */
48-
/* $Date: $ */
43+
/* ref: $Format:%D$ */
44+
/* git commit: $Format:%H$ */
45+
/* commit time: $Format:%ai$ */

demos/small.c

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2+
*
3+
* LibTomCrypt is a library that provides various cryptographic
4+
* algorithms in a highly modular and flexible manner.
5+
*
6+
* The library is free for all purposes without any express
7+
* guarantee it works.
8+
*/
19
/* small demo app that just includes a cipher/hash/prng */
210
#include <tomcrypt.h>
311

@@ -9,6 +17,6 @@ int main(void)
917
return 0;
1018
}
1119

12-
/* $Source$ */
13-
/* $Revision$ */
14-
/* $Date$ */
20+
/* ref: $Format:%D$ */
21+
/* git commit: $Format:%H$ */
22+
/* commit time: $Format:%ai$ */

0 commit comments

Comments
 (0)