From 41b1cb6751bb7844f17bee892e31cf080f3d1ea6 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Mon, 23 Mar 2015 22:23:41 +0100 Subject: [PATCH] wincng.h: fix return code of libssh2_md5_init() --- src/wincng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wincng.h b/src/wincng.h index c87a9fc3..4c8e0e6e 100644 --- a/src/wincng.h +++ b/src/wincng.h @@ -135,7 +135,7 @@ typedef struct __libssh2_wincng_hash_ctx { #define libssh2_md5_ctx _libssh2_wincng_hash_ctx #define libssh2_md5_init(ctx) \ _libssh2_wincng_hash_init(ctx, _libssh2_wincng.hAlgHashMD5, \ - MD5_DIGEST_LENGTH, NULL, 0) + MD5_DIGEST_LENGTH, NULL, 0) == 0 #define libssh2_md5_update(ctx, data, datalen) \ _libssh2_wincng_hash_update(&ctx, (unsigned char *) data, datalen) #define libssh2_md5_final(ctx, hash) \