diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-22 03:40:55 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:20:09 +0000 |
commit | 0f113f3ee4d629ef9a4a30911b22b224772085e5 (patch) | |
tree | e014603da5aed1d0751f587a66d6e270b6bda3de /crypto/o_fips.c | |
parent | 22b52164aaed31d6e93dbd2d397ace041360e6aa (diff) |
Run util/openssl-format-source -v -c .
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'crypto/o_fips.c')
-rw-r--r-- | crypto/o_fips.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/crypto/o_fips.c b/crypto/o_fips.c index a57a02b070..105d5faf48 100644 --- a/crypto/o_fips.c +++ b/crypto/o_fips.c @@ -1,5 +1,6 @@ -/* Written by Stephen henson (steve@openssl.org) for the OpenSSL - * project 2011. +/* + * Written by Stephen henson (steve@openssl.org) for the OpenSSL project + * 2011. */ /* ==================================================================== * Copyright (c) 2011 The OpenSSL Project. All rights reserved. @@ -9,7 +10,7 @@ * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -57,27 +58,26 @@ #include "cryptlib.h" #ifdef OPENSSL_FIPS -#include <openssl/fips.h> +# include <openssl/fips.h> #endif int FIPS_mode(void) - { +{ #ifdef OPENSSL_FIPS - return FIPS_module_mode(); + return FIPS_module_mode(); #else - return 0; + return 0; #endif - } +} int FIPS_mode_set(int r) - { +{ #ifdef OPENSSL_FIPS - return FIPS_module_mode_set(r); + return FIPS_module_mode_set(r); #else - if (r == 0) - return 1; - CRYPTOerr(CRYPTO_F_FIPS_MODE_SET, CRYPTO_R_FIPS_MODE_NOT_SUPPORTED); - return 0; + if (r == 0) + return 1; + CRYPTOerr(CRYPTO_F_FIPS_MODE_SET, CRYPTO_R_FIPS_MODE_NOT_SUPPORTED); + return 0; #endif - } - +} |