summaryrefslogtreecommitdiffstats
path: root/g10/sig-check.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-01-31 22:24:36 +0100
committerWerner Koch <wk@gnupg.org>1998-01-31 22:24:36 +0100
commit3bcd3cd7b28ac1e65738320af8451606a8c8dd51 (patch)
tree8f97a74f05cc25114ff75858cdac631197c86984 /g10/sig-check.c
parent*** empty log message *** (diff)
downloadgnupg2-3bcd3cd7b28ac1e65738320af8451606a8c8dd51.tar.xz
gnupg2-3bcd3cd7b28ac1e65738320af8451606a8c8dd51.zip
auf tobold
Diffstat (limited to 'g10/sig-check.c')
-rw-r--r--g10/sig-check.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/sig-check.c b/g10/sig-check.c
index 54ccae951..fcc2a6948 100644
--- a/g10/sig-check.c
+++ b/g10/sig-check.c
@@ -42,8 +42,7 @@ signature_check( PKT_signature *sig, MD_HANDLE digest )
{
PKT_public_cert *pkc = m_alloc_clear( sizeof *pkc );
MPI result = NULL;
- int rc=0, i, j, c, old_enc;
- byte *dp;
+ int rc=0;
if( get_pubkey( pkc, sig->keyid ) ) {
@@ -74,6 +73,8 @@ signature_check( PKT_signature *sig, MD_HANDLE digest )
}
#ifdef HAVE_RSA_CIPHER
else if( pkc->pubkey_algo == PUBKEY_ALGO_RSA ) {
+ int i, j, c, old_enc;
+ byte *dp;
RSA_public_key pkey;
result = mpi_alloc(40);