[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Thu Apr 2 19:58:36 UTC 2015
The branch master has been updated
via 22ebaae08c6c10de1e6b0225531c94e5866070d7 (commit)
from 7eeeb49e1103533bc81c234eb19613353866e474 (commit)
- Log -----------------------------------------------------------------
commit 22ebaae08c6c10de1e6b0225531c94e5866070d7
Author: Rich Salz <rsalz at openssl.org>
Date: Thu Apr 2 15:58:10 2015 -0400
Fewer newlines in comp method output
Print "supported compression methods" all on one line.
Reviewed-by: Andy Polyakov <appro at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
test/ssltest.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/test/ssltest.c b/test/ssltest.c
index 508fedd..c9f5b4d 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -1394,16 +1394,18 @@ int main(int argc, char *argv[])
}
}
ssl_comp_methods = SSL_COMP_get_compression_methods();
- fprintf(stderr, "Available compression methods:\n");
+ fprintf(stderr, "Available compression methods:");
{
int j, n = sk_SSL_COMP_num(ssl_comp_methods);
if (n == 0)
fprintf(stderr, " NONE\n");
- else
+ else {
for (j = 0; j < n; j++) {
SSL_COMP *c = sk_SSL_COMP_value(ssl_comp_methods, j);
- fprintf(stderr, " %d: %s\n", c->id, c->name);
+ fprintf(stderr, " %s:%d", c->name, c->id);
}
+ fprintf(stderr, "\n");
+ }
}
#endif
More information about the openssl-commits
mailing list