summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-06-22 12:18:33 +0000
committerjsing <jsing@openbsd.org>2014-06-22 12:18:33 +0000
commit62424d27eef5d16487b532384248811787ef3897 (patch)
tree5ea12c27dd89845d37cc770ec459296a89331851
parentKNF. (diff)
downloadwireguard-openbsd-62424d27eef5d16487b532384248811787ef3897.tar.xz
wireguard-openbsd-62424d27eef5d16487b532384248811787ef3897.zip
More KNF.
-rw-r--r--lib/libcrypto/engine/eng_rsax.c10
-rw-r--r--lib/libssl/src/crypto/engine/eng_rsax.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/libcrypto/engine/eng_rsax.c b/lib/libcrypto/engine/eng_rsax.c
index ee184390702..090ff3dfda6 100644
--- a/lib/libcrypto/engine/eng_rsax.c
+++ b/lib/libcrypto/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;
}
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;
}