crypt: Fix badsalttest test (Bug 22765)
commit650ba77ad547b24e0839c90ed56f7b9445d8165a
authorIl'ya Malakhov <ilmalakhov@yandex.ru>
Wed, 31 Jan 2018 22:32:19 +0000 (31 14:32 -0800)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 1 Feb 2018 08:02:49 +0000 (1 00:02 -0800)
tree27804a8a3292d9547ff9fa4ddc624782b6600525
parentd9f442ce56a716ef4723a05ba913c5e2e78d3096
crypt: Fix badsalttest test (Bug 22765)

The value of 'cd.initialized' is left uninitialized before the
first invocation of 'crypt_r ()' in this test despite the fact
that it should be set to zero according to the API.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
crypt/badsalttest.c