aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/import.c')
-rw-r--r--g10/import.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/g10/import.c b/g10/import.c
index fff54eedb..8281d00e8 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -1338,11 +1338,6 @@ append_uid( KBNODE keyblock, KBNODE node, int *n_sigs,
KBNODE n, n_where=NULL;
assert(node->pkt->pkttype == PKT_USER_ID );
- if( !node->next || node->next->pkt->pkttype == PKT_USER_ID ) {
- log_error( _("key %08lX: our copy has no self-signature\n"),
- (ulong)keyid[1]);
- return G10ERR_GENERAL;
- }
/* find the position */
for( n = keyblock; n; n_where = n, n = n->next ) {
@@ -1391,12 +1386,6 @@ merge_sigs( KBNODE dst, KBNODE src, int *n_sigs,
assert(dst->pkt->pkttype == PKT_USER_ID );
assert(src->pkt->pkttype == PKT_USER_ID );
- if( !dst->next || dst->next->pkt->pkttype == PKT_USER_ID ) {
- log_error( _("key %08lX: our copy has no self-signature\n"),
- (ulong)keyid[1]);
- return 0;
- }
-
for(n=src->next; n && n->pkt->pkttype != PKT_USER_ID; n = n->next ) {
if( n->pkt->pkttype != PKT_SIGNATURE )