Page MenuHome GnuPG

889_0001-do_encode_dsa-fix-incorrect-check-for-521-bit-ECDSA.patch
AbandonedPublic

Authored by steven on Sep 23 2016, 9:15 PM.

Details

Reviewers
None
Summary

From 58ad663d4cd09ed3440c27cc2fa45f1c2e66d62e Mon Sep 17 00:00:00 2001
From: Steven Noonan <steven@uplinklabs.net>
Date: Fri, 23 Sep 2016 12:10:17 -0700
Subject: [PATCH 1/2] do_encode_dsa: fix incorrect check for 521-bit ECDSA

We actually want to check whether qbits is > 512, as is done in
g10/seskey.c. The > 521 check doesn't make sense because -none- of the
curves are *larger than* 521 bits.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>

agent/pksign.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

2.10.0

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped