projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533bf1d
)
Fix printing private EC_KEY
author
Alessandro Ghedini
<alessandro@ghedini.me>
Thu, 30 Jun 2016 22:51:48 +0000
(23:51 +0100)
committer
Rich Salz
<rsalz@openssl.org>
Fri, 1 Jul 2016 14:46:21 +0000
(10:46 -0400)
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1273)
crypto/ec/ec_ameth.c
patch
|
blob
|
history
diff --git
a/crypto/ec/ec_ameth.c
b/crypto/ec/ec_ameth.c
index 7fcc2c804327596278e84d08275309e35f1bdc13..3212984252fc8b81888f05a131e6ad1a3e739c6c 100644
(file)
--- a/
crypto/ec/ec_ameth.c
+++ b/
crypto/ec/ec_ameth.c
@@
-548,7
+548,7
@@
int EC_KEY_print(BIO *bp, const EC_KEY *x, int off)
int private = EC_KEY_get0_private_key(x) != NULL;
return do_EC_KEY_print(bp, x, off,
- private ? EC_KEY_PRINT_P
UBLIC
: EC_KEY_PRINT_PUBLIC);
+ private ? EC_KEY_PRINT_P
RIVATE
: EC_KEY_PRINT_PUBLIC);
}
int ECParameters_print(BIO *bp, const EC_KEY *x)