]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Correct the return value of cryptoapi RSA signature callbacks
authorSelva Nair <selva.nair@gmail.com>
Fri, 26 Jul 2019 20:39:17 +0000 (16:39 -0400)
committerGert Doering <gert@greenie.muc.de>
Sun, 28 Jul 2019 19:54:27 +0000 (21:54 +0200)
commitf4ac6b780db2e0c3b60d180bd6545efe30a52059
treee32f447a2fbcaa6b7828f9492543272131b8b085
parent59e45a8bbc9084329c683730325bc5b676058e71
Correct the return value of cryptoapi RSA signature callbacks

Fixes the wrong check on siglen instead of *siglen for
signing failures.

Bug reported by: lilulo <lilulo@gmail.com>

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1564173557-11776-1-git-send-email-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg18706.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/cryptoapi.c