[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Fri Jul 1 14:49:52 UTC 2016
The branch master has been updated
via a66069dbcd020f25b80c66c0e71e137683c54914 (commit)
from 533bf1df55057eb2bb3dc3306d34153414a4dc4d (commit)
- Log -----------------------------------------------------------------
commit a66069dbcd020f25b80c66c0e71e137683c54914
Author: Alessandro Ghedini <alessandro at ghedini.me>
Date: Thu Jun 30 23:51:48 2016 +0100
Fix printing private EC_KEY
Reviewed-by: Kurt Roeckx <kurt at openssl.org>
Reviewed-by: Stephen Henson <steve at openssl.org>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1273)
-----------------------------------------------------------------------
Summary of changes:
crypto/ec/ec_ameth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/ec/ec_ameth.c b/crypto/ec/ec_ameth.c
index 7fcc2c8..3212984 100644
--- 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_PUBLIC : EC_KEY_PRINT_PUBLIC);
+ private ? EC_KEY_PRINT_PRIVATE : EC_KEY_PRINT_PUBLIC);
}
int ECParameters_print(BIO *bp, const EC_KEY *x)
More information about the openssl-commits
mailing list