aboutsummaryrefslogtreecommitdiff
path: root/lib/pingpong.h
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2012-11-13 13:09:43 +0100
committerKamil Dudka <kdudka@redhat.com>2012-11-13 13:17:45 +0100
commit1099f3a0715f2bad376915122dba2922c33620a3 (patch)
tree709addb3298fffa7ca0e9e81a91dcfb58fd415bf /lib/pingpong.h
parent6a4bdb027bb7d44ba33dc00ef4c0a19f929c55fd (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/pingpong.h')
0 files changed, 0 insertions, 0 deletions