diff options
| author | Werner Koch <[email protected]> | 2000-01-24 11:55:49 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2000-01-24 11:55:49 +0000 |
| commit | 0070faa0ffd5c366bc20f477a4838b701c20b063 (patch) | |
| tree | 4fb8a63c5f2b7cb4b33a51247bdc8961caa89720 /g10/keylist.c | |
| parent | See ChangeLog: Fri Dec 31 14:06:56 CET 1999 Werner Koch (diff) | |
| download | gnupg-0070faa0ffd5c366bc20f477a4838b701c20b063.tar.gz gnupg-0070faa0ffd5c366bc20f477a4838b701c20b063.zip | |
See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch
Diffstat (limited to 'g10/keylist.c')
| -rw-r--r-- | g10/keylist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/keylist.c b/g10/keylist.c index 53e88f468..91e660352 100644 --- a/g10/keylist.c +++ b/g10/keylist.c @@ -29,7 +29,7 @@ #include "packet.h" #include "errors.h" #include "keydb.h" -#include "memory.h" +#include <gcrypt.h> #include "util.h" #include "trustdb.h" #include "main.h" @@ -159,7 +159,7 @@ print_key_data( PKT_public_key *pk, u32 *keyid ) int i; for(i=0; i < n; i++ ) { - printf("pkd:%d:%u:", i, mpi_get_nbits( pk->pkey[i] ) ); + printf("pkd:%d:%u:", i, gcry_mpi_get_nbits( pk->pkey[i] ) ); mpi_print(stdout, pk->pkey[i], 1 ); putchar(':'); putchar('\n'); @@ -412,7 +412,7 @@ list_keyblock( KBNODE keyblock, int secret ) print_string( stdout, p, n, ':' ); else print_utf8_string( stdout, p, n ); - m_free(p); + gcry_free(p); } if( opt.with_colons ) printf(":%02x:", sig->sig_class ); @@ -463,6 +463,6 @@ fingerprint( PKT_public_key *pk, PKT_secret_key *sk ) } } putchar('\n'); - m_free(array); + gcry_free(array); } |
