From b5e2a62346b425d6b4e7c3c22cccdf149888d6ca Mon Sep 17 00:00:00 2001 From: Dariusz Michaluk Date: Fri, 5 Aug 2016 17:35:13 +0200 Subject: [PATCH] Fix codestyle Change-Id: I1d34fa7eedc8c8de720245f0a70b0926df24c0a9 --- api/yaca/yaca_types.h | 4 ++-- src/crypto.c | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/api/yaca/yaca_types.h b/api/yaca/yaca_types.h index 17cddc9..a022ce3 100755 --- a/api/yaca/yaca_types.h +++ b/api/yaca/yaca_types.h @@ -462,8 +462,8 @@ typedef enum { /** * CBC block cipher mode. - * 16-byte initialization vector for AES, - * 8-byte for other algorithms is mandatory. + * 16-byte initialization vector for AES, + * 8-byte for other algorithms is mandatory. * * By default the input data is padded using standard block padding (aka PKCS#5 padding). * Padding can be disabled using yaca_context_set_property() and #YACA_PROPERTY_PADDING, #YACA_PADDING_NONE, diff --git a/src/crypto.c b/src/crypto.c index 32f1d70..87c153c 100644 --- a/src/crypto.c +++ b/src/crypto.c @@ -83,8 +83,7 @@ API int yaca_initialize(void) pthread_mutex_lock(&init_mutex); { - if (threads_cnt == 0) - { + if (threads_cnt == 0) { assert(mutexes == NULL); OPENSSL_init(); -- 2.7.4