Fix trailing whitespace in EVP_PKEY_print_*
Aligning the bn_print labels doesn't do anything. They will, almost all
the time, add a newline anyway.
Change-Id: Ib6571eba7508ebd46508c61a68bfbb03d8c52ba6
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/54949
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
diff --git a/crypto/evp/print.c b/crypto/evp/print.c
index 9f71274..56645b5 100644
--- a/crypto/evp/print.c
+++ b/crypto/evp/print.c
@@ -218,10 +218,10 @@
}
if (!bn_print(bp, "priv:", priv_key, off) ||
- !bn_print(bp, "pub: ", pub_key, off) ||
- !bn_print(bp, "P: ", x->p, off) ||
- !bn_print(bp, "Q: ", x->q, off) ||
- !bn_print(bp, "G: ", x->g, off)) {
+ !bn_print(bp, "pub:", pub_key, off) ||
+ !bn_print(bp, "P:", x->p, off) ||
+ !bn_print(bp, "Q:", x->q, off) ||
+ !bn_print(bp, "G:", x->g, off)) {
return 0;
}