summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/i2d_pr.c
diff options
context:
space:
mode:
authortedu <>2014-04-18 00:58:49 +0000
committertedu <>2014-04-18 00:58:49 +0000
commita1df5b66c7ad477a535e56a504d8da47e1998cfa (patch)
treeb216ca6fba673789f2c494699c4cf41d23337bfa /src/lib/libcrypto/asn1/i2d_pr.c
parent07f5c09b19f56c323fa22ebd5efb5a4df9f5dc4d (diff)
downloadopenbsd-a1df5b66c7ad477a535e56a504d8da47e1998cfa.tar.gz
openbsd-a1df5b66c7ad477a535e56a504d8da47e1998cfa.tar.bz2
openbsd-a1df5b66c7ad477a535e56a504d8da47e1998cfa.zip
lob a few more knf grenades in here to soften things up.
Diffstat (limited to 'src/lib/libcrypto/asn1/i2d_pr.c')
-rw-r--r--src/lib/libcrypto/asn1/i2d_pr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/i2d_pr.c b/src/lib/libcrypto/asn1/i2d_pr.c
index 9332c4d2ec..7175748601 100644
--- a/src/lib/libcrypto/asn1/i2d_pr.c
+++ b/src/lib/libcrypto/asn1/i2d_pr.c
@@ -64,8 +64,7 @@
64 64
65int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) 65int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp)
66{ 66{
67 if (a->ameth && a->ameth->old_priv_encode) 67 if (a->ameth && a->ameth->old_priv_encode) {
68 {
69 return a->ameth->old_priv_encode(a, pp); 68 return a->ameth->old_priv_encode(a, pp);
70 } 69 }
71 if (a->ameth && a->ameth->priv_encode) { 70 if (a->ameth && a->ameth->priv_encode) {