diff options
author | jsing <> | 2014-05-08 16:05:38 +0000 |
---|---|---|
committer | jsing <> | 2014-05-08 16:05:38 +0000 |
commit | 7779067b7b5b2153b20dc72d5116caaa3383df0c (patch) | |
tree | bccc71e2bc50ab48238241efca5212c0b3a7faa5 /src/lib/libcrypto/evp/m_null.c | |
parent | b590070115ee73703baaa8c896eed6bb11a45b0e (diff) | |
download | openbsd-7779067b7b5b2153b20dc72d5116caaa3383df0c.tar.gz openbsd-7779067b7b5b2153b20dc72d5116caaa3383df0c.tar.bz2 openbsd-7779067b7b5b2153b20dc72d5116caaa3383df0c.zip |
More KNF.
Diffstat (limited to 'src/lib/libcrypto/evp/m_null.c')
-rw-r--r-- | src/lib/libcrypto/evp/m_null.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/m_null.c b/src/lib/libcrypto/evp/m_null.c index f3c00ad5c8..ad658e7045 100644 --- a/src/lib/libcrypto/evp/m_null.c +++ b/src/lib/libcrypto/evp/m_null.c | |||
@@ -62,17 +62,20 @@ | |||
62 | #include <openssl/objects.h> | 62 | #include <openssl/objects.h> |
63 | #include <openssl/x509.h> | 63 | #include <openssl/x509.h> |
64 | 64 | ||
65 | static int init(EVP_MD_CTX *ctx) | 65 | static int |
66 | init(EVP_MD_CTX *ctx) | ||
66 | { | 67 | { |
67 | return 1; | 68 | return 1; |
68 | } | 69 | } |
69 | 70 | ||
70 | static int update(EVP_MD_CTX *ctx, const void *data, size_t count) | 71 | static int |
72 | update(EVP_MD_CTX *ctx, const void *data, size_t count) | ||
71 | { | 73 | { |
72 | return 1; | 74 | return 1; |
73 | } | 75 | } |
74 | 76 | ||
75 | static int final(EVP_MD_CTX *ctx, unsigned char *md) | 77 | static int |
78 | final(EVP_MD_CTX *ctx, unsigned char *md) | ||
76 | { | 79 | { |
77 | return 1; | 80 | return 1; |
78 | } | 81 | } |