summaryrefslogtreecommitdiff
path: root/lib/libc/crypt
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-02-18 16:10:54 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-02-18 16:10:54 +0000
commit0c5d0ccfc527ebf5cd7fc4516596ae5fee06f132 (patch)
treedcfb7fcf1fe591c4bf7f6cf2339d4c1b5232983f /lib/libc/crypt
parenta84b871509e3a64e9955e49cab546acc1cfaee00 (diff)
#if __STDC__ -> #ifdef __STDC__, now all of them.
Diffstat (limited to 'lib/libc/crypt')
-rw-r--r--lib/libc/crypt/bcrypt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c
index 9e55110dd64..3c2934b4288 100644
--- a/lib/libc/crypt/bcrypt.c
+++ b/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcrypt.c,v 1.10 1997/09/10 23:15:42 deraadt Exp $ */
+/* $OpenBSD: bcrypt.c,v 1.11 1998/02/18 16:10:53 provos Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -140,7 +140,7 @@ decode_base64(buffer, len, data)
}
}
-#if __STDC__
+#ifdef __STDC__
static void
encode_salt(char *salt, u_int8_t *csalt, u_int16_t clen, u_int8_t logr)
#else
@@ -166,7 +166,7 @@ encode_salt(salt, csalt, clen, logr)
seems sensible.
*/
-#if __STDC__
+#ifdef __STDC__
char *
bcrypt_gensalt(u_int8_t log_rounds)
#else
@@ -293,7 +293,7 @@ bcrypt(key, salt)
return encrypted;
}
-#if __STDC__
+#ifdef __STDC__
static void
encode_base64(u_int8_t *buffer, u_int8_t *data, u_int16_t len)
#else