From c16502fc2c7cb980057f0198c144158a04615467 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 15 Jul 2014 22:48:49 -0700 Subject: [PATCH] Coverity FP --- test/default/sign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/default/sign.c b/test/default/sign.c index 72674917..2cf108a9 100644 --- a/test/default/sign.c +++ b/test/default/sign.c @@ -1099,8 +1099,8 @@ int main(void) continue; } if (crypto_sign_detached(sig, &siglen, - (const unsigned char *) test_data[i].m, i, - test_data[i].sk) != 0) { + (const unsigned char *) test_data[i].m, + i, skpk) != 0) { printf("detached signature failed: [%u]\n", i); continue; }