mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
Improve style
Spaces around operators. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3860)
This commit is contained in:
parent
1fb2993d9e
commit
7af42628c1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user