diff options
author | Doug Hogan <[email protected]> | 2019-01-04 01:26:22 -0800 |
---|---|---|
committer | Doug Hogan <[email protected]> | 2019-01-08 01:11:59 -0800 |
commit | b4b8f69a507770b7a0031c79d01bd58cc27763ef (patch) | |
tree | ee1d6bdd3e2d456ff1396a9f262f00f0518fc3eb /lib | |
parent | cee4b0518cb4a543e419c62d1b83bee7ae14f1af (diff) | |
download | otp-b4b8f69a507770b7a0031c79d01bd58cc27763ef.tar.gz otp-b4b8f69a507770b7a0031c79d01bd58cc27763ef.tar.bz2 otp-b4b8f69a507770b7a0031c79d01bd58cc27763ef.zip |
Revamp DH_get0_key()
* Whitespace
Diffstat (limited to 'lib')
-rw-r--r-- | lib/crypto/c_src/evp_compat.h | 7 |
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 7ad9fb95d2..dc94a61d8e 100644 --- a/lib/crypto/c_src/evp_compat.h +++ b/lib/crypto/c_src/evp_compat.h @@ -200,8 +200,11 @@ DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g) static INLINE void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) { - if (pub_key) *pub_key = dh->pub_key; - if (priv_key) *priv_key = dh->priv_key; + if (pub_key) + *pub_key = dh->pub_key; + + if (priv_key) + *priv_key = dh->priv_key; } #endif /* E_EVP_COMPAT_H__ */ |