* gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn.
This commit is contained in:
parent
7937658bb7
commit
f52d17f48f
@ -1,3 +1,7 @@
|
|||||||
|
2002-09-20 Werner Koch <wk@gnupg.org>
|
||||||
|
|
||||||
|
* gpgmeplug.c (nextCertificate): Sanity check for empty tmp_dn.
|
||||||
|
|
||||||
2002-08-20 Steffen Hansen <steffen@hrhansen.dk>
|
2002-08-20 Steffen Hansen <steffen@hrhansen.dk>
|
||||||
|
|
||||||
* Use gpgme_op_import_ext() instead of gpgme_op_import(). We
|
* Use gpgme_op_import_ext() instead of gpgme_op_import(). We
|
||||||
|
@ -2173,7 +2173,7 @@ nextCertificate( struct CertIterator* it, struct CertificateInfo** result )
|
|||||||
issuer_dn = tmp_dn = parse_dn( s );
|
issuer_dn = tmp_dn = parse_dn( s );
|
||||||
/*it->info.issuer = xstrdup(s);*/
|
/*it->info.issuer = xstrdup(s);*/
|
||||||
it->info.issuer = reorder_dn( issuer_dn );
|
it->info.issuer = reorder_dn( issuer_dn );
|
||||||
while( tmp_dn->key ) {
|
while( tmp_dn && tmp_dn->key ) {
|
||||||
free( tmp_dn->key );
|
free( tmp_dn->key );
|
||||||
free( tmp_dn->value );
|
free( tmp_dn->value );
|
||||||
++tmp_dn;
|
++tmp_dn;
|
||||||
|
Loading…
Reference in New Issue
Block a user