aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/c_src/evp_compat.h
diff options
context:
space:
mode:
authorDoug Hogan <[email protected]>2019-01-04 01:25:54 -0800
committerDoug Hogan <[email protected]>2019-01-08 01:11:59 -0800
commitcee4b0518cb4a543e419c62d1b83bee7ae14f1af (patch)
treea1c134738a83528e98f8947c8c0fc0fc45d0e02c /lib/crypto/c_src/evp_compat.h
parent6c8560e288ef430ffa8d0baa567013a64f500e8e (diff)
downloadotp-cee4b0518cb4a543e419c62d1b83bee7ae14f1af.tar.gz
otp-cee4b0518cb4a543e419c62d1b83bee7ae14f1af.tar.bz2
otp-cee4b0518cb4a543e419c62d1b83bee7ae14f1af.zip
Revamp DSA_get0_pqg()
* Whitespace
Diffstat (limited to 'lib/crypto/c_src/evp_compat.h')
-rw-r--r--lib/crypto/c_src/evp_compat.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/crypto/c_src/evp_compat.h b/lib/crypto/c_src/evp_compat.h
index 996985799a..7ad9fb95d2 100644
--- a/lib/crypto/c_src/evp_compat.h
+++ b/lib/crypto/c_src/evp_compat.h
@@ -149,8 +149,11 @@ DSA_get0_pqg(const DSA *dsa, const BIGNUM **p, const BIGNUM **q, const BIGNUM **
static INLINE void
DSA_get0_key(const DSA *dsa, const BIGNUM **pub_key, const BIGNUM **priv_key)
{
- if (pub_key) *pub_key = dsa->pub_key;
- if (priv_key) *priv_key = dsa->priv_key;
+ if (pub_key)
+ *pub_key = dsa->pub_key;
+
+ if (priv_key)
+ *priv_key = dsa->priv_key;
}