summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/crypt/bcrypt.c6
-rw-r--r--src/lib/libc/net/res_random.c4
2 files changed, 5 insertions, 5 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,
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index e22771995a..f28692f7c2 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.20 2013/11/12 07:00:24 deraadt Exp $ */ 1/* $OpenBSD: res_random.c,v 1.21 2014/07/20 04:22:34 guenther 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>
@@ -87,7 +87,7 @@ struct prf_ctx {
87}; 87};
88 88
89#define PFAC_N 3 89#define PFAC_N 3
90const static u_int16_t pfacts[PFAC_N] = { 90static const u_int16_t pfacts[PFAC_N] = {
91 2, 91 2,
92 3, 92 3,
93 2729 93 2729