diff options
author | jsing <> | 2014-05-27 13:11:56 +0000 |
---|---|---|
committer | jsing <> | 2014-05-27 13:11:56 +0000 |
commit | ba4ffb9afcda0e5d602804bb0bf6ac732e7d46b9 (patch) | |
tree | 963b0acd35e73ba6baaff389266558bf0c82df13 /src | |
parent | 87a47057deb2a90bdbef75a73f1094a29ab4aa1d (diff) | |
download | openbsd-ba4ffb9afcda0e5d602804bb0bf6ac732e7d46b9.tar.gz openbsd-ba4ffb9afcda0e5d602804bb0bf6ac732e7d46b9.tar.bz2 openbsd-ba4ffb9afcda0e5d602804bb0bf6ac732e7d46b9.zip |
More KNF.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/src/ssl/s3_enc.c | 3 | ||||
-rw-r--r-- | src/lib/libssl/src/ssl/ssl_ciph.c | 4 | ||||
-rw-r--r-- | src/lib/libssl/ssl_ciph.c | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/libssl/src/ssl/s3_enc.c b/src/lib/libssl/src/ssl/s3_enc.c index 119e7ce1f4..c9284c395f 100644 --- a/src/lib/libssl/src/ssl/s3_enc.c +++ b/src/lib/libssl/src/ssl/s3_enc.c | |||
@@ -559,7 +559,8 @@ ssl3_free_digest_list(SSL *s) | |||
559 | void | 559 | void |
560 | ssl3_finish_mac(SSL *s, const unsigned char *buf, int len) | 560 | ssl3_finish_mac(SSL *s, const unsigned char *buf, int len) |
561 | { | 561 | { |
562 | if (s->s3->handshake_buffer && !(s->s3->flags & TLS1_FLAGS_KEEP_HANDSHAKE)) { | 562 | if (s->s3->handshake_buffer && |
563 | !(s->s3->flags & TLS1_FLAGS_KEEP_HANDSHAKE)) { | ||
563 | BIO_write (s->s3->handshake_buffer,(void *)buf, len); | 564 | BIO_write (s->s3->handshake_buffer,(void *)buf, len); |
564 | } else { | 565 | } else { |
565 | int i; | 566 | int i; |
diff --git a/src/lib/libssl/src/ssl/ssl_ciph.c b/src/lib/libssl/src/ssl/ssl_ciph.c index b2a1e93688..c9485f8194 100644 --- a/src/lib/libssl/src/ssl/ssl_ciph.c +++ b/src/lib/libssl/src/ssl/ssl_ciph.c | |||
@@ -1407,8 +1407,8 @@ ssl_create_cipher_list(const SSL_METHOD *ssl_method, | |||
1407 | 1407 | ||
1408 | free((void *)ca_list); /* Not needed anymore */ | 1408 | free((void *)ca_list); /* Not needed anymore */ |
1409 | 1409 | ||
1410 | if (!ok) | 1410 | if (!ok) { |
1411 | { /* Rule processing failure */ | 1411 | /* Rule processing failure */ |
1412 | free(co_list); | 1412 | free(co_list); |
1413 | return (NULL); | 1413 | return (NULL); |
1414 | } | 1414 | } |
diff --git a/src/lib/libssl/ssl_ciph.c b/src/lib/libssl/ssl_ciph.c index b2a1e93688..c9485f8194 100644 --- a/src/lib/libssl/ssl_ciph.c +++ b/src/lib/libssl/ssl_ciph.c | |||
@@ -1407,8 +1407,8 @@ ssl_create_cipher_list(const SSL_METHOD *ssl_method, | |||
1407 | 1407 | ||
1408 | free((void *)ca_list); /* Not needed anymore */ | 1408 | free((void *)ca_list); /* Not needed anymore */ |
1409 | 1409 | ||
1410 | if (!ok) | 1410 | if (!ok) { |
1411 | { /* Rule processing failure */ | 1411 | /* Rule processing failure */ |
1412 | free(co_list); | 1412 | free(co_list); |
1413 | return (NULL); | 1413 | return (NULL); |
1414 | } | 1414 | } |