summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/bcrypt.c4
-rw-r--r--src/lib/libc/crypt/blowfish.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index 42418767ee..bea35e789a 100644
--- a/src/lib/libc/crypt/bcrypt.c
+++ b/src/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcrypt.c,v 1.8 1997/07/23 20:58:26 kstailey Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.9 1997/07/25 20:29:59 mickey Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -97,7 +97,7 @@ const static u_int8_t index_64[128] =
97}; 97};
98#define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)]) 98#define CHAR64(c) ( (c) > 127 ? 255 : index_64[(c)])
99 99
100#if __STDC__ 100#ifdef __STDC__
101static void 101static void
102decode_base64(u_int8_t *buffer, u_int16_t len, u_int8_t *data) 102decode_base64(u_int8_t *buffer, u_int16_t len, u_int8_t *data)
103#else 103#else
diff --git a/src/lib/libc/crypt/blowfish.c b/src/lib/libc/crypt/blowfish.c
index b9cd41f960..9f1c79b0e7 100644
--- a/src/lib/libc/crypt/blowfish.c
+++ b/src/lib/libc/crypt/blowfish.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: blowfish.c,v 1.5 1997/07/23 20:58:27 kstailey Exp $ */ 1/* $OpenBSD: blowfish.c,v 1.6 1997/07/25 20:30:00 mickey Exp $ */
2/* 2/*
3 * Blowfish block cipher for OpenBSD 3 * Blowfish block cipher for OpenBSD
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -441,7 +441,7 @@ Blowfish_initstate(c)
441 441
442} 442}
443 443
444#if __STDC__ 444#ifdef __STDC__
445u_int32_t 445u_int32_t
446Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current) 446Blowfish_stream2word(const u_int8_t *data, u_int16_t databytes, u_int16_t *current)
447#else 447#else