diff options
author | Werner Koch <wk@gnupg.org> | 1999-11-13 17:43:23 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-11-13 17:43:23 +0100 |
commit | 881e51323749ba797202d8a4119910e6f9d2f727 (patch) | |
tree | 3de535d07143b9b3513b524dd81f32a5305756b1 /g10/keyid.c | |
parent | See ChangeLog: Thu Oct 28 16:17:46 CEST 1999 Werner Koch (diff) | |
download | gnupg2-881e51323749ba797202d8a4119910e6f9d2f727.tar.xz gnupg2-881e51323749ba797202d8a4119910e6f9d2f727.zip |
See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner Koch
Diffstat (limited to 'g10/keyid.c')
-rw-r--r-- | g10/keyid.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/g10/keyid.c b/g10/keyid.c index b4d745a7c..0c82aa193 100644 --- a/g10/keyid.c +++ b/g10/keyid.c @@ -38,12 +38,12 @@ int pubkey_letter( int algo ) { switch( algo ) { - case PUBKEY_ALGO_RSA: return 'R' ; - case PUBKEY_ALGO_RSA_E: return 'r' ; - case PUBKEY_ALGO_RSA_S: return 's' ; - case PUBKEY_ALGO_ELGAMAL_E: return 'g'; - case PUBKEY_ALGO_ELGAMAL: return 'G' ; - case PUBKEY_ALGO_DSA: return 'D' ; + case GCRY_PK_RSA: return 'R' ; + case GCRY_PK_RSA_E: return 'r' ; + case GCRY_PK_RSA_S: return 's' ; + case GCRY_PK_ELG_E: return 'g'; + case GCRY_PK_ELG: return 'G' ; + case GCRY_PK_DSA: return 'D' ; default: return '?'; } } @@ -54,9 +54,9 @@ do_fingerprint_md( PKT_public_key *pk ) { GCRY_MD_HD md; unsigned n; - unsigned nb[PUBKEY_MAX_NPKEY]; - unsigned nn[PUBKEY_MAX_NPKEY]; - byte *pp[PUBKEY_MAX_NPKEY]; + unsigned nb[GNUPG_MAX_NPKEY]; + unsigned nn[GNUPG_MAX_NPKEY]; + byte *pp[GNUPG_MAX_NPKEY]; int i; int npkey = pubkey_get_npkey( pk->pubkey_algo ); |