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:55:03 +0000 (09:55 -0500)
commit2566388c840a2cd2c242e9cf5793228f3bcd270b
treefad31ed46a3e73f01e61c49d7ec7f6ba20c3814d
parent08330a1241379945d3d93c7205d0489f8ba2064c
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