summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2014-06-22 12:18:34 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2014-06-22 12:18:34 +0000
commit6af2309716bf0d2fb105c74fb17b704d39caa70c (patch)
treed2a6c305a06990f2ce86d309f123dcfe66c30567 /lib
parentf1d7d3ec8e10e73d2584ba011cf1181fd800a0ed (diff)
More KNF.
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/engine/eng_rsax.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/src/crypto/engine/eng_rsax.c b/lib/libssl/src/crypto/engine/eng_rsax.c
index ee184390702..090ff3dfda6 100644
--- a/lib/libssl/src/crypto/engine/eng_rsax.c
+++ b/lib/libssl/src/crypto/engine/eng_rsax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eng_rsax.c,v 1.7 2014/06/22 12:05:09 jsing Exp $ */
+/* $OpenBSD: eng_rsax.c,v 1.8 2014/06/22 12:18:33 jsing Exp $ */
/* Copyright (c) 2010-2010 Intel Corp.
* Author: Vinodh.Gopal@intel.com
* Jim Guilford
@@ -573,10 +573,10 @@ e_rsax_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
c = &local_c;
BN_with_flags(c, I, BN_FLG_CONSTTIME);
- if (!BN_mod(r1, c,rsa->q, ctx))
+ if (!BN_mod(r1, c, rsa->q, ctx))
goto err;
} else {
- if (!BN_mod(r1, I,rsa->q, ctx))
+ if (!BN_mod(r1, I, rsa->q, ctx))
goto err;
}
@@ -595,10 +595,10 @@ e_rsax_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx)
if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
c = &local_c;
BN_with_flags(c, I, BN_FLG_CONSTTIME);
- if (!BN_mod(r1, c,rsa->p, ctx))
+ if (!BN_mod(r1, c, rsa->p, ctx))
goto err;
} else {
- if (!BN_mod(r1, I,rsa->p, ctx))
+ if (!BN_mod(r1, I, rsa->p, ctx))
goto err;
}