diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2015-04-16 01:50:03 -0400 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2015-04-16 13:50:01 -0400 |
commit | 3b38646d1345b5ec4ff7fd13c8b8bd8d46105b7e (patch) | |
tree | af2160713ed289183162cf26dc98c6834a62d408 /crypto/evp | |
parent | bf5b8ff17dd7039b15cbc6468cd865cbc219581d (diff) |
Code style: space after 'if'
Reviewed-by: Matt Caswell <gitlab@openssl.org>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/bio_ok.c | 2 | ||||
-rw-r--r-- | crypto/evp/e_des3.c | 2 | ||||
-rw-r--r-- | crypto/evp/encode.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c index 859712fb74..5c32e35e17 100644 --- a/crypto/evp/bio_ok.c +++ b/crypto/evp/bio_ok.c @@ -491,7 +491,7 @@ static int sig_out(BIO *b) * FIXME: there's absolutely no guarantee this makes any sense at all, * particularly now EVP_MD_CTX has been restructured. */ - if(RAND_pseudo_bytes(md->md_data, md->digest->md_size) < 0) + if (RAND_pseudo_bytes(md->md_data, md->digest->md_size) < 0) goto berr; memcpy(&(ctx->buf[ctx->buf_len]), md->md_data, md->digest->md_size); longswap(&(ctx->buf[ctx->buf_len]), md->digest->md_size); diff --git a/crypto/evp/e_des3.c b/crypto/evp/e_des3.c index 6aa4d09987..96f272eb80 100644 --- a/crypto/evp/e_des3.c +++ b/crypto/evp/e_des3.c @@ -447,7 +447,7 @@ static int des_ede3_wrap(EVP_CIPHER_CTX *ctx, unsigned char *out, memcpy(out + inl + 8, sha1tmp, 8); OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); /* Generate random IV */ - if(RAND_bytes(ctx->iv, 8) <= 0) + if (RAND_bytes(ctx->iv, 8) <= 0) return -1; memcpy(out, ctx->iv, 8); /* Encrypt everything after IV in place */ diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c index d1d8a07c14..53cc586396 100644 --- a/crypto/evp/encode.c +++ b/crypto/evp/encode.c @@ -248,7 +248,7 @@ int EVP_DecodeUpdate(EVP_ENCODE_CTX *ctx, unsigned char *out, int *outl, /* We parse the input data */ for (i = 0; i < inl; i++) { - /* If the current line is > 80 characters, scream alot */ + /* If the current line is > 80 characters, scream a lot */ if (ln >= 80) { rv = -1; goto end; |