diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/crypto/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lib/crypto/crypto_libinit.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/lib/crypto/ChangeLog b/src/lib/crypto/ChangeLog index 957a0ec31..a48ec1f54 100644 --- a/src/lib/crypto/ChangeLog +++ b/src/lib/crypto/ChangeLog @@ -1,3 +1,8 @@ +2000-01-24 Tom Yu <tlyu@mit.edu> + + * crypto_libinit.c: Add terminating newline; use 0 and 1 instead + of false and true. + Fri Jan 21 22:47:00 2000 Miro Jurisic <meeroh@mit.edu> * Makefile.in: added crypto_libinit.[co] diff --git a/src/lib/crypto/crypto_libinit.c b/src/lib/crypto/crypto_libinit.c index 5ae277e9e..a4358d0d6 100644 --- a/src/lib/crypto/crypto_libinit.c +++ b/src/lib/crypto/crypto_libinit.c @@ -1,6 +1,6 @@ #include <assert.h> -static int initialized = false; +static int initialized = 0; /* * Initialize the crypto library. @@ -10,7 +10,7 @@ int cryptoint_initialize_library (void) { if (!initialized) { - initialized = true; + initialized = 1; } return 0; @@ -26,5 +26,5 @@ void cryptoint_cleanup_library (void) prng_cleanup (); - initialized = false; -}
\ No newline at end of file + initialized = 0; +} |
