Make the output of enc -ciphers identical even if run several times in a session.
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:34:42 +0000 (09:34 -0500)
commit2b305ab02e0977ed71c255cc386ff75c397d7820
treee7376678945a621550c331df5a0355f43a7e8aeb
parentf125430063dd81efe098c99542b02b2a918adc1d
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)
apps/enc.c