diff options
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/record/rec_layer_s3.c | 4 | ||||
-rw-r--r-- | ssl/t1_enc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c index d10b91b24f..c1101a6735 100644 --- a/ssl/record/rec_layer_s3.c +++ b/ssl/record/rec_layer_s3.c @@ -920,8 +920,8 @@ int do_ssl3_write(SSL *s, int type, const unsigned char *buf, * This will be at most one cipher block or the tag length if using * AEAD. SSL_RT_MAX_CIPHER_BLOCK_SIZE covers either case. */ - if(!WPACKET_reserve_bytes(thispkt, SSL_RT_MAX_CIPHER_BLOCK_SIZE, - NULL) + if (!WPACKET_reserve_bytes(thispkt, SSL_RT_MAX_CIPHER_BLOCK_SIZE, + NULL) /* * We also need next the amount of bytes written to this * sub-packet diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 9839e1dc54..8fe2dfd3aa 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -448,7 +448,7 @@ int tls1_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, */ if (!ssl3_digest_cached_records(s, 1)) return 0; - if(!ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) + if (!ssl_handshake_hash(s, hash, sizeof(hash), &hashlen)) return 0; #ifdef SSL_DEBUG fprintf(stderr, "Handshake hashes:\n"); |