diff options
| author | Werner Koch <[email protected]> | 1998-10-12 20:16:38 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-10-12 20:16:38 +0000 |
| commit | 8477407e794951c686e3afe1d13035abd0153d9f (patch) | |
| tree | a062f99923861fe7c55d5cc2ff3cf04daba8c8e0 /g10/keyedit.c | |
| parent | a new release (diff) | |
| download | gnupg-8477407e794951c686e3afe1d13035abd0153d9f.tar.gz gnupg-8477407e794951c686e3afe1d13035abd0153d9f.zip | |
backup
Diffstat (limited to 'g10/keyedit.c')
| -rw-r--r-- | g10/keyedit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index 6f9c1c7c1..ea64d3870 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -902,10 +902,11 @@ show_key_and_fingerprint( KBNODE keyblock ) static void show_fingerprint( PKT_public_key *pk ) { - byte *array, *p; + byte array[MAX_FINGERPRINT_LEN], *p; size_t i, n; - p = array = fingerprint_from_pk( pk, NULL, &n ); + fingerprint_from_pk( pk, array, &n ); + p = array; tty_printf(" Fingerprint:"); if( n == 20 ) { for(i=0; i < n ; i++, i++, p += 2 ) { @@ -922,7 +923,6 @@ show_fingerprint( PKT_public_key *pk ) } } tty_printf("\n"); - m_free(array); } |
