aboutsummaryrefslogtreecommitdiffstats
path: root/test/tls13ccstest.c
diff options
context:
space:
mode:
authorx2018 <xkernel.wang@foxmail.com>2021-10-26 15:16:18 +0800
committerPauli <pauli@openssl.org>2021-10-28 13:10:46 +1000
commit1287dabd0b23326be491125698dd982e4ae28887 (patch)
tree3d6a62803bdd3d8ca9378eda3e7316a9c995c001 /test/tls13ccstest.c
parent01451721afebabd0b7bdcd4cb3a183c9b590d266 (diff)
downloadopenssl-1287dabd0b23326be491125698dd982e4ae28887.tar.gz
fix some code with obvious wrong coding style
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16918)
Diffstat (limited to 'test/tls13ccstest.c')
-rw-r--r--test/tls13ccstest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tls13ccstest.c b/test/tls13ccstest.c
index 3a3fa8c22a..1ec2ee2b1e 100644
--- a/test/tls13ccstest.c
+++ b/test/tls13ccstest.c
@@ -42,7 +42,7 @@ static const BIO_METHOD *bio_f_watchccs_filter(void)
if (method_watchccs == NULL) {
method_watchccs = BIO_meth_new(BIO_TYPE_WATCHCCS_FILTER,
"Watch CCS filter");
- if ( method_watchccs == NULL
+ if (method_watchccs == NULL
|| !BIO_meth_set_write(method_watchccs, watchccs_write)
|| !BIO_meth_set_read(method_watchccs, watchccs_read)
|| !BIO_meth_set_puts(method_watchccs, watchccs_puts)
@@ -193,7 +193,7 @@ static int watchccs_write(BIO *bio, const char *in, int inl)
} else {
badccs = 1;
}
- } else if(rectype == SSL3_RT_APPLICATION_DATA) {
+ } else if (rectype == SSL3_RT_APPLICATION_DATA) {
if (bio == s_to_c_fbio)
sappdataseen = 1;
else