mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* verify.c (gpgsm_verify): Detect certs-only message.
This commit is contained in:
parent
c1791a8d15
commit
8337455483
11 changed files with 120 additions and 41 deletions
10
sm/import.c
10
sm/import.c
|
@ -75,8 +75,14 @@ gpgsm_import (CTRL ctrl, int in_fd)
|
|||
}
|
||||
|
||||
if ( !gpgsm_basic_cert_check (cert) )
|
||||
keydb_store_cert (cert);
|
||||
|
||||
{
|
||||
if (!keydb_store_cert (cert))
|
||||
{
|
||||
if (opt.verbose)
|
||||
log_info ("certificate imported\n");
|
||||
}
|
||||
}
|
||||
|
||||
leave:
|
||||
ksba_cert_release (cert);
|
||||
gpgsm_destroy_reader (b64reader);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue