diff options
Diffstat (limited to '')
-rw-r--r-- | g10/build-packet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c index 1ceac358d..ea8a40041 100644 --- a/g10/build-packet.c +++ b/g10/build-packet.c @@ -1000,18 +1000,18 @@ sig_to_notation(PKT_signature *sig) if(p[0]&0x80) { + n->flags.human=1; n->value=xmalloc(n2+1); - memcpy(n->value,&p[8+n1],n2); n->value[n2]='\0'; } else { - n->value=xmalloc(2+strlen(_("not human readable"))+2+1); - strcpy(n->value,"[ "); - strcat(n->value,_("not human readable")); - strcat(n->value," ]"); + n->value=xmalloc(n2); + n->blen=n2; } + memcpy(n->value,&p[8+n1],n2); + n->flags.critical=crit; n->next=list; |