From ed3609258828942808702a07ef2986d7328efa3f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 12 Jan 1998 10:18:17 +0000 Subject: started with trust stuff --- g10/build-packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g10/build-packet.c') diff --git a/g10/build-packet.c b/g10/build-packet.c index 6c526e346..5bacf3f86 100644 --- a/g10/build-packet.c +++ b/g10/build-packet.c @@ -196,7 +196,7 @@ do_public_cert( IOBUF out, int ctb, PKT_public_cert *pkc ) * Make a hash value from the public key certificate */ void -hash_public_cert( MD_HANDLE *md, PKT_public_cert *pkc ) +hash_public_cert( MD_HANDLE md, PKT_public_cert *pkc ) { PACKET pkt; int rc = 0; @@ -210,7 +210,7 @@ hash_public_cert( MD_HANDLE *md, PKT_public_cert *pkc ) if( (rc = build_packet( a, &pkt )) ) log_fatal("build public_cert for hashing failed: %s\n", g10_errstr(rc)); while( (c=iobuf_get(a)) != -1 ) - md_putchar( md, c ); + md_putc( md, c ); iobuf_cancel(a); } -- cgit v1.2.3