mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Thu May 25 18:39:11 CEST 2000 Werner Koch
This commit is contained in:
parent
da129a5124
commit
d1648b4d7a
11 changed files with 1207 additions and 60 deletions
|
@ -196,7 +196,8 @@ 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 */
|
||||
uid->stored_at = iobuf_get_temp_length ( out ); /* what a hack ... */
|
||||
/* ... and it does only work when used with a temp iobuf */
|
||||
if( iobuf_write( out, uid->name, uid->len ) )
|
||||
return GPGERR_WRITE_FILE;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue