From a292ad305e2cff554e4cb34186d704e175e03ee0 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 24 Jan 2000 19:50:27 +0000 Subject: [PATCH] * crypto_libinit.c: Add terminating newline; use 0 and 1 instead of false and true. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11962 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/ChangeLog | 5 +++++ 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 + + * crypto_libinit.c: Add terminating newline; use 0 and 1 instead + of false and true. + Fri Jan 21 22:47:00 2000 Miro Jurisic * 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 -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; +} -- 2.26.2