summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2014-05-24 15:25:46 +0000
committerjsing <>2014-05-24 15:25:46 +0000
commit9d5e69e894332ec60ed31ee4362a6c5fd3f5bd3f (patch)
tree95c8b21de74c67f55c00074bc1181f5270fb5ae7
parent0f5e6295b9f000530ca134aa55a1318c795accb1 (diff)
downloadopenbsd-9d5e69e894332ec60ed31ee4362a6c5fd3f5bd3f.tar.gz
openbsd-9d5e69e894332ec60ed31ee4362a6c5fd3f5bd3f.tar.bz2
openbsd-9d5e69e894332ec60ed31ee4362a6c5fd3f5bd3f.zip
More KNF.
-rw-r--r--src/lib/libcrypto/rand/rand_err.c4
-rw-r--r--src/lib/libssl/src/crypto/rand/rand_err.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/rand/rand_err.c b/src/lib/libcrypto/rand/rand_err.c
index 64ae6e0650..4f3c94feef 100644
--- a/src/lib/libcrypto/rand/rand_err.c
+++ b/src/lib/libcrypto/rand/rand_err.c
@@ -68,14 +68,14 @@
68#define ERR_FUNC(func) ERR_PACK(ERR_LIB_RAND,func,0) 68#define ERR_FUNC(func) ERR_PACK(ERR_LIB_RAND,func,0)
69#define ERR_REASON(reason) ERR_PACK(ERR_LIB_RAND,0,reason) 69#define ERR_REASON(reason) ERR_PACK(ERR_LIB_RAND,0,reason)
70 70
71static ERR_STRING_DATA RAND_str_functs[]= { 71static ERR_STRING_DATA RAND_str_functs[] = {
72 {ERR_FUNC(RAND_F_RAND_GET_RAND_METHOD), "RAND_get_rand_method"}, 72 {ERR_FUNC(RAND_F_RAND_GET_RAND_METHOD), "RAND_get_rand_method"},
73 {ERR_FUNC(RAND_F_RAND_INIT_FIPS), "RAND_init_fips"}, 73 {ERR_FUNC(RAND_F_RAND_INIT_FIPS), "RAND_init_fips"},
74 {ERR_FUNC(RAND_F_SSLEAY_RAND_BYTES), "SSLEAY_RAND_BYTES"}, 74 {ERR_FUNC(RAND_F_SSLEAY_RAND_BYTES), "SSLEAY_RAND_BYTES"},
75 {0, NULL} 75 {0, NULL}
76}; 76};
77 77
78static ERR_STRING_DATA RAND_str_reasons[]= { 78static ERR_STRING_DATA RAND_str_reasons[] = {
79 {ERR_REASON(RAND_R_DUAL_EC_DRBG_DISABLED), "dual ec drbg disabled"}, 79 {ERR_REASON(RAND_R_DUAL_EC_DRBG_DISABLED), "dual ec drbg disabled"},
80 {ERR_REASON(RAND_R_ERROR_INITIALISING_DRBG), "error initialising drbg"}, 80 {ERR_REASON(RAND_R_ERROR_INITIALISING_DRBG), "error initialising drbg"},
81 {ERR_REASON(RAND_R_ERROR_INSTANTIATING_DRBG), "error instantiating drbg"}, 81 {ERR_REASON(RAND_R_ERROR_INSTANTIATING_DRBG), "error instantiating drbg"},
diff --git a/src/lib/libssl/src/crypto/rand/rand_err.c b/src/lib/libssl/src/crypto/rand/rand_err.c
index 64ae6e0650..4f3c94feef 100644
--- a/src/lib/libssl/src/crypto/rand/rand_err.c
+++ b/src/lib/libssl/src/crypto/rand/rand_err.c
@@ -68,14 +68,14 @@
68#define ERR_FUNC(func) ERR_PACK(ERR_LIB_RAND,func,0) 68#define ERR_FUNC(func) ERR_PACK(ERR_LIB_RAND,func,0)
69#define ERR_REASON(reason) ERR_PACK(ERR_LIB_RAND,0,reason) 69#define ERR_REASON(reason) ERR_PACK(ERR_LIB_RAND,0,reason)
70 70
71static ERR_STRING_DATA RAND_str_functs[]= { 71static ERR_STRING_DATA RAND_str_functs[] = {
72 {ERR_FUNC(RAND_F_RAND_GET_RAND_METHOD), "RAND_get_rand_method"}, 72 {ERR_FUNC(RAND_F_RAND_GET_RAND_METHOD), "RAND_get_rand_method"},
73 {ERR_FUNC(RAND_F_RAND_INIT_FIPS), "RAND_init_fips"}, 73 {ERR_FUNC(RAND_F_RAND_INIT_FIPS), "RAND_init_fips"},
74 {ERR_FUNC(RAND_F_SSLEAY_RAND_BYTES), "SSLEAY_RAND_BYTES"}, 74 {ERR_FUNC(RAND_F_SSLEAY_RAND_BYTES), "SSLEAY_RAND_BYTES"},
75 {0, NULL} 75 {0, NULL}
76}; 76};
77 77
78static ERR_STRING_DATA RAND_str_reasons[]= { 78static ERR_STRING_DATA RAND_str_reasons[] = {
79 {ERR_REASON(RAND_R_DUAL_EC_DRBG_DISABLED), "dual ec drbg disabled"}, 79 {ERR_REASON(RAND_R_DUAL_EC_DRBG_DISABLED), "dual ec drbg disabled"},
80 {ERR_REASON(RAND_R_ERROR_INITIALISING_DRBG), "error initialising drbg"}, 80 {ERR_REASON(RAND_R_ERROR_INITIALISING_DRBG), "error initialising drbg"},
81 {ERR_REASON(RAND_R_ERROR_INSTANTIATING_DRBG), "error instantiating drbg"}, 81 {ERR_REASON(RAND_R_ERROR_INSTANTIATING_DRBG), "error instantiating drbg"},