summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt
diff options
context:
space:
mode:
authorguenther <>2014-07-20 04:22:34 +0000
committerguenther <>2014-07-20 04:22:34 +0000
commit2d32133a5bf876d4d4e5ec6d7a5b28977b043411 (patch)
tree5825d94cbc51cdf261c4e7177ee31779abbd58d6 /src/lib/libc/crypt
parent62a42f016f6e7c8be86b80a527c3637a7496569f (diff)
downloadopenbsd-2d32133a5bf876d4d4e5ec6d7a5b28977b043411.tar.gz
openbsd-2d32133a5bf876d4d4e5ec6d7a5b28977b043411.tar.bz2
openbsd-2d32133a5bf876d4d4e5ec6d7a5b28977b043411.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 'src/lib/libc/crypt')
-rw-r--r--src/lib/libc/crypt/bcrypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index aab26fe2cb..9b0001de0f 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.44 2014/05/17 15:18:06 chl Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.45 2014/07/20 04:22:34 guenther Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 4 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -231,10 +231,10 @@ bcrypt_checkpass(const char *pass, const char *goodhash)
231/* 231/*
232 * internal utilities 232 * internal utilities
233 */ 233 */
234const static u_int8_t Base64Code[] = 234static const u_int8_t Base64Code[] =
235"./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; 235"./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
236 236
237const static u_int8_t index_64[128] = { 237static const u_int8_t index_64[128] = {
238 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 238 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
239 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 239 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
240 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,