From: hongliang <513918845@qq.com> Date: Wed, 12 Jul 2017 02:51:00 +0000 (+0800) Subject: coding style: remove extra whitespace charactor X-Git-Tag: OpenSSL_1_1_1-pre1~1066 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6e2e6ed4faefc7ac57fd053cfac227352632fb81;p=oweals%2Fopenssl.git coding style: remove extra whitespace charactor CLA: trivial Reviewed-by: Bernd Edlinger Reviewed-by: Paul Dale Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/3913) --- diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index 0fbd3854f1..8f28c48c4d 100644 --- a/crypto/lhash/lhash.c +++ b/crypto/lhash/lhash.c @@ -32,7 +32,7 @@ OPENSSL_LHASH *OPENSSL_LH_new(OPENSSL_LH_HASHFUNC h, OPENSSL_LH_COMPFUNC c) return NULL; if ((ret->b = OPENSSL_zalloc(sizeof(*ret->b) * MIN_NODES)) == NULL) goto err; - if ((ret->retrieve_stats_lock = CRYPTO_THREAD_lock_new()) == NULL) + if ((ret->retrieve_stats_lock = CRYPTO_THREAD_lock_new()) == NULL) goto err; ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c); ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h); diff --git a/crypto/lhash/lhash_lcl.h b/crypto/lhash/lhash_lcl.h index 01d463fb36..64d3134fc1 100644 --- a/crypto/lhash/lhash_lcl.h +++ b/crypto/lhash/lhash_lcl.h @@ -21,7 +21,7 @@ struct lhash_st { /* * some stats are updated on lookup, which callers aren't expecting to have * to take an exclusive lock around. This lock protects them on platforms - * without atomics, and their types are int rather than unsigned long below + * without atomics, and their types are int rather than unsigned long below * so they can be adjusted with CRYPTO_atomic_add. */ CRYPTO_RWLOCK *retrieve_stats_lock;