diff options
author | Werner Koch <wk@gnupg.org> | 1998-04-02 12:30:03 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-04-02 12:30:03 +0200 |
commit | 303b1084d51dd1f9d3e614497f180a66744f5185 (patch) | |
tree | 3e482ba03967ff3f324184e19ecc91016ce4b939 /g10/keyid.c | |
parent | some cleanups (diff) | |
download | gnupg2-303b1084d51dd1f9d3e614497f180a66744f5185.tar.xz gnupg2-303b1084d51dd1f9d3e614497f180a66744f5185.zip |
release 0.2.14
Diffstat (limited to 'g10/keyid.c')
-rw-r--r-- | g10/keyid.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/g10/keyid.c b/g10/keyid.c index da426aa2a..9f4ccdfb8 100644 --- a/g10/keyid.c +++ b/g10/keyid.c @@ -115,16 +115,16 @@ elg_fingerprint_md( PKT_public_cert *pkc ) unsigned nb1, nb3, nb4; unsigned n; - nb1 = mpi_get_nbits(pkc->d.dsa.p); - p1 = buf1 = mpi_get_buffer( pkc->d.dsa.p, &n1, NULL ); + nb1 = mpi_get_nbits(pkc->d.elg.p); + p1 = buf1 = mpi_get_buffer( pkc->d.elg.p, &n1, NULL ); for( ; !*p1 && n1; p1++, n1-- ) /* skip leading null bytes */ ; - nb3 = mpi_get_nbits(pkc->d.dsa.g); - p3 = buf3 = mpi_get_buffer( pkc->d.dsa.g, &n3, NULL ); + nb3 = mpi_get_nbits(pkc->d.elg.g); + p3 = buf3 = mpi_get_buffer( pkc->d.elg.g, &n3, NULL ); for( ; !*p3 && n3; p3++, n3-- ) ; - nb4 = mpi_get_nbits(pkc->d.dsa.y); - p4 = buf4 = mpi_get_buffer( pkc->d.dsa.y, &n4, NULL ); + nb4 = mpi_get_nbits(pkc->d.elg.y); + p4 = buf4 = mpi_get_buffer( pkc->d.elg.y, &n4, NULL ); for( ; !*p4 && n4; p4++, n4-- ) ; |