summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt/bcrypt.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-20 04:22:34 +0000
committerguenther <guenther@openbsd.org>2014-07-20 04:22:34 +0000
commit1a0ab62094e3228bee25c13db900b0ec294222ab (patch)
treea4da076b235d9eb4c1a8f18da2d427b7f9c6701b /lib/libc/crypt/bcrypt.c
parentOoops, verbose_encrypt option is gone too. (diff)
downloadwireguard-openbsd-1a0ab62094e3228bee25c13db900b0ec294222ab.tar.xz
wireguard-openbsd-1a0ab62094e3228bee25c13db900b0ec294222ab.zip
From ISO/IEC 9899:1999 and 9899:201x,
6.11.5 - Storage-class specifiers: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Diff from Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
Diffstat (limited to 'lib/libc/crypt/bcrypt.c')
-rw-r--r--lib/libc/crypt/bcrypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c
index aab26fe2cb0..9b0001de0f9 100644
--- a/lib/libc/crypt/bcrypt.c
+++ b/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcrypt.c,v 1.44 2014/05/17 15:18:06 chl Exp $ */
+/* $OpenBSD: bcrypt.c,v 1.45 2014/07/20 04:22:34 guenther Exp $ */
/*
* Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -231,10 +231,10 @@ bcrypt_checkpass(const char *pass, const char *goodhash)
/*
* internal utilities
*/
-const static u_int8_t Base64Code[] =
+static const u_int8_t Base64Code[] =
"./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
-const static u_int8_t index_64[128] = {
+static const u_int8_t index_64[128] = {
255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
255, 255, 255, 255, 255, 255, 255, 255, 255, 255,