diff options
| author | jsing <> | 2014-04-20 14:32:19 +0000 |
|---|---|---|
| committer | jsing <> | 2014-04-20 14:32:19 +0000 |
| commit | e30dbd6d979a7c2e99c8c4b4660b81e5c18b0c8c (patch) | |
| tree | fab20b775c31a23956dbbb4a4fb4aa288ee27a94 /src/lib/libcrypto/cpt_err.c | |
| parent | f3c3afa642d281b9472832f33041f3dc51156597 (diff) | |
| download | openbsd-e30dbd6d979a7c2e99c8c4b4660b81e5c18b0c8c.tar.gz openbsd-e30dbd6d979a7c2e99c8c4b4660b81e5c18b0c8c.tar.bz2 openbsd-e30dbd6d979a7c2e99c8c4b4660b81e5c18b0c8c.zip | |
More KNF.
Diffstat (limited to 'src/lib/libcrypto/cpt_err.c')
| -rw-r--r-- | src/lib/libcrypto/cpt_err.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/cpt_err.c b/src/lib/libcrypto/cpt_err.c index a8e94ccd16..5c1946c061 100644 --- a/src/lib/libcrypto/cpt_err.c +++ b/src/lib/libcrypto/cpt_err.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * are met: | 7 | * are met: |
| 8 | * | 8 | * |
| 9 | * 1. Redistributions of source code must retain the above copyright | 9 | * 1. Redistributions of source code must retain the above copyright |
| 10 | * notice, this list of conditions and the following disclaimer. | 10 | * notice, this list of conditions and the following disclaimer. |
| 11 | * | 11 | * |
| 12 | * 2. Redistributions in binary form must reproduce the above copyright | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer in | 13 | * notice, this list of conditions and the following disclaimer in |
| @@ -68,7 +68,7 @@ | |||
| 68 | #define ERR_FUNC(func) ERR_PACK(ERR_LIB_CRYPTO,func,0) | 68 | #define ERR_FUNC(func) ERR_PACK(ERR_LIB_CRYPTO,func,0) |
| 69 | #define ERR_REASON(reason) ERR_PACK(ERR_LIB_CRYPTO,0,reason) | 69 | #define ERR_REASON(reason) ERR_PACK(ERR_LIB_CRYPTO,0,reason) |
| 70 | 70 | ||
| 71 | static ERR_STRING_DATA CRYPTO_str_functs[]= { | 71 | static ERR_STRING_DATA CRYPTO_str_functs[] = { |
| 72 | {ERR_FUNC(CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX), "CRYPTO_get_ex_new_index"}, | 72 | {ERR_FUNC(CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX), "CRYPTO_get_ex_new_index"}, |
| 73 | {ERR_FUNC(CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID), "CRYPTO_get_new_dynlockid"}, | 73 | {ERR_FUNC(CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID), "CRYPTO_get_new_dynlockid"}, |
| 74 | {ERR_FUNC(CRYPTO_F_CRYPTO_GET_NEW_LOCKID), "CRYPTO_get_new_lockid"}, | 74 | {ERR_FUNC(CRYPTO_F_CRYPTO_GET_NEW_LOCKID), "CRYPTO_get_new_lockid"}, |
| @@ -82,7 +82,7 @@ static ERR_STRING_DATA CRYPTO_str_functs[]= { | |||
| 82 | {0, NULL} | 82 | {0, NULL} |
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | static ERR_STRING_DATA CRYPTO_str_reasons[]= { | 85 | static ERR_STRING_DATA CRYPTO_str_reasons[] = { |
| 86 | {ERR_REASON(CRYPTO_R_FIPS_MODE_NOT_SUPPORTED), "fips mode not supported"}, | 86 | {ERR_REASON(CRYPTO_R_FIPS_MODE_NOT_SUPPORTED), "fips mode not supported"}, |
| 87 | {ERR_REASON(CRYPTO_R_NO_DYNLOCK_CREATE_CALLBACK), "no dynlock create callback"}, | 87 | {ERR_REASON(CRYPTO_R_NO_DYNLOCK_CREATE_CALLBACK), "no dynlock create callback"}, |
| 88 | {0, NULL} | 88 | {0, NULL} |
