Make the output of enc -ciphers identical
authorPauli <paul.dale@oracle.com>
Wed, 8 Mar 2017 23:42:25 +0000 (09:42 +1000)
committerRich Salz <rsalz@openssl.org>
Thu, 9 Mar 2017 14:45:32 +0000 (09:45 -0500)
commit57e73ef3943638a6a3e937f86789f391e5593b83
treeeeee149b3c505184b208e7b690f32dacc7b19308
parent723f616df81ea05f31407f7417f49eea89bb459a
Make the output of enc -ciphers identical

even if run several times in a session.

This amounts to moving the column counter so it isn't a function local
static variable and reinitialising it each time.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2884)
(cherry picked from commit 2b305ab02e0977ed71c255cc386ff75c397d7820)
apps/enc.c