mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Trust stuff works partly.
This commit is contained in:
parent
ea4b6f9db7
commit
d71f8bce7e
18 changed files with 590 additions and 125 deletions
|
@ -57,9 +57,10 @@ write_comment( IOBUF out, const char *s )
|
|||
KBNODE
|
||||
make_comment_node( const char *s )
|
||||
{
|
||||
PACKET *pkt = m_alloc_clear( sizeof *pkt );
|
||||
PACKET *pkt;
|
||||
size_t n = strlen(s);
|
||||
|
||||
pkt = m_alloc_clear( sizeof *pkt );
|
||||
pkt->pkttype = PKT_COMMENT;
|
||||
pkt->pkt.comment = m_alloc( sizeof *pkt->pkt.comment + n - 1 );
|
||||
pkt->pkt.comment->len = n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue