summaryrefslogtreecommitdiffstats
path: root/crypto/store
diff options
context:
space:
mode:
authorBenjamin Kaduk <bkaduk@akamai.com>2017-06-30 13:25:20 -0500
committerBenjamin Kaduk <kaduk@mit.edu>2017-07-27 14:32:13 -0500
commit7af42628c1f2864cd73659245742baabdb1a449f (patch)
treeb7229e73d55e81d489830cffb826bd559a793fc9 /crypto/store
parent1fb2993d9e3db38c7c681ea3eecaad458e956f80 (diff)
Improve style
Spaces around operators. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3860)
Diffstat (limited to 'crypto/store')
-rw-r--r--crypto/store/loader_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/store/loader_file.c b/crypto/store/loader_file.c
index 7cb145753e..ca1506513a 100644
--- a/crypto/store/loader_file.c
+++ b/crypto/store/loader_file.c
@@ -864,8 +864,8 @@ static OSSL_STORE_LOADER_CTX *file_open(const OSSL_STORE_LOADER *loader,
}
ctx->_.file.file = BIO_push(buff, ctx->_.file.file);
- if (BIO_buffer_peek(ctx->_.file.file, peekbuf, sizeof(peekbuf)-1) > 0) {
- peekbuf[sizeof(peekbuf)-1] = '\0';
+ if (BIO_buffer_peek(ctx->_.file.file, peekbuf, sizeof(peekbuf) - 1) > 0) {
+ peekbuf[sizeof(peekbuf) - 1] = '\0';
if (strstr(peekbuf, "-----BEGIN ") != NULL)
ctx->type = is_pem;
}