diff options
author | Werner Koch <wk@gnupg.org> | 1998-01-12 11:18:17 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-01-12 11:18:17 +0100 |
commit | ed3609258828942808702a07ef2986d7328efa3f (patch) | |
tree | 185f17c055b38fee37bc0090789dcf96a1535c8c /g10/free-packet.c | |
parent | patchlevel 2 (diff) | |
download | gnupg2-ed3609258828942808702a07ef2986d7328efa3f.tar.xz gnupg2-ed3609258828942808702a07ef2986d7328efa3f.zip |
started with trust stuff
Diffstat (limited to 'g10/free-packet.c')
-rw-r--r-- | g10/free-packet.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/g10/free-packet.c b/g10/free-packet.c index dfd6f4b08..fb5949a8f 100644 --- a/g10/free-packet.c +++ b/g10/free-packet.c @@ -68,8 +68,7 @@ free_public_cert( PKT_public_cert *cert ) mpi_free( cert->d.rsa.rsa_n ); mpi_free( cert->d.rsa.rsa_e ); } - md5_close( cert->mfx.md5 ); - rmd160_close( cert->mfx.rmd160 ); + md_close( cert->mfx.md ); m_free(cert); } @@ -88,8 +87,7 @@ copy_public_cert( PKT_public_cert *d, PKT_public_cert *s ) d->d.rsa.rsa_n = mpi_copy( s->d.rsa.rsa_n ); d->d.rsa.rsa_e = mpi_copy( s->d.rsa.rsa_e ); } - d->mfx.md5 = NULL; - d->mfx.rmd160 =NULL; + d->mfx.md = NULL; return d; } |