summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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