diff options
author | Kamil Dudka <kdudka@redhat.com> | 2012-11-13 13:09:43 +0100 |
---|---|---|
committer | Kamil Dudka <kdudka@redhat.com> | 2012-11-13 13:17:45 +0100 |
commit | 1099f3a0715f2bad376915122dba2922c33620a3 (patch) | |
tree | 709addb3298fffa7ca0e9e81a91dcfb58fd415bf /lib/idn_win32.c | |
parent | 6a4bdb027bb7d44ba33dc00ef4c0a19f929c55fd (diff) |
tool_metalink: fix error detection of hash alg initialization
The {MD5,SHA1,SHA256}_Init functions from OpenSSL are called directly
without any wrappers and they return 1 for success, 0 otherwise. Hence,
we have to use the same approach in all the wrapper functions that are
used for the other crypto libraries.
This commit fixes a regression introduced in commit dca8ae5f.
Diffstat (limited to 'lib/idn_win32.c')
0 files changed, 0 insertions, 0 deletions