Code style: space after 'if'

Reviewed-by: Matt Caswell <gitlab@openssl.org>
This commit is contained in:
Viktor Dukhovni
2015-04-16 02:51:52 -04:00
parent e963109fcd
commit c70908d247
37 changed files with 90 additions and 90 deletions

View File

@@ -2612,7 +2612,7 @@ int tls1_process_heartbeat(SSL *s)
memcpy(bp, pl, payload);
bp += payload;
/* Random padding */
if(RAND_pseudo_bytes(bp, padding) < 0) {
if (RAND_pseudo_bytes(bp, padding) < 0) {
OPENSSL_free(buffer);
return -1;
}
@@ -2698,13 +2698,13 @@ int tls1_heartbeat(SSL *s)
/* Sequence number */
s2n(s->tlsext_hb_seq, p);
/* 16 random bytes */
if(RAND_pseudo_bytes(p, 16) < 0) {
if (RAND_pseudo_bytes(p, 16) < 0) {
SSLerr(SSL_F_TLS1_HEARTBEAT, ERR_R_INTERNAL_ERROR);
goto err;
}
p += 16;
/* Random padding */
if(RAND_pseudo_bytes(p, padding) < 0) {
if (RAND_pseudo_bytes(p, padding) < 0) {
SSLerr(SSL_F_TLS1_HEARTBEAT, ERR_R_INTERNAL_ERROR);
goto err;
}