diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-06-22 11:33:48 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-06-22 11:33:48 +0000 |
commit | 3845da47840940f8b010b8b6892b9ff4417887a4 (patch) | |
tree | 516ae0423f8a8e90ce3e24649a4e9e6f5ef1b234 | |
parent | 78d7f2c754b89f503df3e3c1ab0bed197c70ed10 (diff) |
More KNF.
-rw-r--r-- | lib/libcrypto/engine/eng_cnf.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/engine/eng_err.c | 6 | ||||
-rw-r--r-- | lib/libcrypto/engine/eng_fat.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/libcrypto/engine/eng_cnf.c b/lib/libcrypto/engine/eng_cnf.c index f334971fe63..1689bf44d2c 100644 --- a/lib/libcrypto/engine/eng_cnf.c +++ b/lib/libcrypto/engine/eng_cnf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eng_cnf.c,v 1.10 2014/06/12 15:49:29 deraadt Exp $ */ +/* $OpenBSD: eng_cnf.c,v 1.11 2014/06/22 11:33:47 jsing Exp $ */ /* Written by Stephen Henson (steve@openssl.org) for the OpenSSL * project 2001. */ @@ -195,8 +195,8 @@ err: ENGINEerr(ENGINE_F_INT_ENGINE_CONFIGURE, ENGINE_R_ENGINE_CONFIGURATION_ERROR); if (ecmd) - ERR_asprintf_error_data - ("section=%s, name=%s, value=%s", + ERR_asprintf_error_data( + "section=%s, name=%s, value=%s", ecmd->section, ecmd->name, ecmd->value); } if (e) diff --git a/lib/libcrypto/engine/eng_err.c b/lib/libcrypto/engine/eng_err.c index 9b1e51e5ed4..298c33f4858 100644 --- a/lib/libcrypto/engine/eng_err.c +++ b/lib/libcrypto/engine/eng_err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eng_err.c,v 1.8 2014/06/12 15:49:29 deraadt Exp $ */ +/* $OpenBSD: eng_err.c,v 1.9 2014/06/22 11:33:47 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1999-2010 The OpenSSL Project. All rights reserved. * @@ -68,7 +68,7 @@ #define ERR_FUNC(func) ERR_PACK(ERR_LIB_ENGINE,func,0) #define ERR_REASON(reason) ERR_PACK(ERR_LIB_ENGINE,0,reason) -static ERR_STRING_DATA ENGINE_str_functs[]= { +static ERR_STRING_DATA ENGINE_str_functs[] = { {ERR_FUNC(ENGINE_F_DYNAMIC_CTRL), "DYNAMIC_CTRL"}, {ERR_FUNC(ENGINE_F_DYNAMIC_GET_DATA_CTX), "DYNAMIC_GET_DATA_CTX"}, {ERR_FUNC(ENGINE_F_DYNAMIC_LOAD), "DYNAMIC_LOAD"}, @@ -111,7 +111,7 @@ static ERR_STRING_DATA ENGINE_str_functs[]= { {0, NULL} }; -static ERR_STRING_DATA ENGINE_str_reasons[]= { +static ERR_STRING_DATA ENGINE_str_reasons[] = { {ERR_REASON(ENGINE_R_ALREADY_LOADED) , "already loaded"}, {ERR_REASON(ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER), "argument is not a number"}, {ERR_REASON(ENGINE_R_CMD_NOT_EXECUTABLE) , "cmd not executable"}, diff --git a/lib/libcrypto/engine/eng_fat.c b/lib/libcrypto/engine/eng_fat.c index 112f797ba44..94190ca7f18 100644 --- a/lib/libcrypto/engine/eng_fat.c +++ b/lib/libcrypto/engine/eng_fat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eng_fat.c,v 1.11 2014/06/12 15:49:29 deraadt Exp $ */ +/* $OpenBSD: eng_fat.c,v 1.12 2014/06/22 11:33:47 jsing Exp $ */ /* ==================================================================== * Copyright (c) 1999-2001 The OpenSSL Project. All rights reserved. * @@ -125,8 +125,8 @@ int_def_cb(const char *alg, int len, void *arg) else if (!strncmp(alg, "DIGESTS", len)) *pflags |= ENGINE_METHOD_DIGESTS; else if (!strncmp(alg, "PKEY", len)) - *pflags |= - ENGINE_METHOD_PKEY_METHS|ENGINE_METHOD_PKEY_ASN1_METHS; + *pflags |= ENGINE_METHOD_PKEY_METHS | + ENGINE_METHOD_PKEY_ASN1_METHS; else if (!strncmp(alg, "PKEY_CRYPTO", len)) *pflags |= ENGINE_METHOD_PKEY_METHS; else if (!strncmp(alg, "PKEY_ASN1", len)) |