diff options
Diffstat (limited to '')
-rw-r--r-- | gpgmeplug/gpgmeplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgmeplug/gpgmeplug.c b/gpgmeplug/gpgmeplug.c index 4dab9ef8..6e17c554 100644 --- a/gpgmeplug/gpgmeplug.c +++ b/gpgmeplug/gpgmeplug.c @@ -2173,7 +2173,7 @@ nextCertificate( struct CertIterator* it, struct CertificateInfo** result ) issuer_dn = tmp_dn = parse_dn( s ); /*it->info.issuer = xstrdup(s);*/ it->info.issuer = reorder_dn( issuer_dn ); - while( tmp_dn->key ) { + while( tmp_dn && tmp_dn->key ) { free( tmp_dn->key ); free( tmp_dn->value ); ++tmp_dn; |