summaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2000-03-13 19:19:12 +0100
committerWerner Koch <wk@gnupg.org>2000-03-13 19:19:12 +0100
commit14a2e006bcd829671191c127d7ad3288995db8f9 (patch)
treeca819fd1b70778754f9ef438a62269e28896a7e6 /g10/build-packet.c
parentSee ChangeLog: Mon Feb 21 22:43:01 CET 2000 Werner Koch (diff)
downloadgnupg2-14a2e006bcd829671191c127d7ad3288995db8f9.tar.xz
gnupg2-14a2e006bcd829671191c127d7ad3288995db8f9.zip
See ChangeLog: Mon Mar 13 19:22:46 CET 2000 Werner Koch
Diffstat (limited to 'g10/build-packet.c')
-rw-r--r--g10/build-packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 2f3eebea3..5772b13be 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -196,6 +196,7 @@ static int
do_user_id( IOBUF out, int ctb, PKT_user_id *uid )
{
write_header(out, ctb, uid->len);
+ uid->stored_at = iobuf_tell( out ); /* what a hack */
if( iobuf_write( out, uid->name, uid->len ) )
return GPGERR_WRITE_FILE;
return 0;