diff options
author | Werner Koch <[email protected]> | 2017-10-19 15:05:39 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-10-19 15:05:39 +0000 |
commit | 68c8619114fd5f24cb6bfb9e0f25c428a8805323 (patch) | |
tree | a50553af46895cbd102940c6b7fb635ca9981d02 /dirmngr/ks-engine-http.c | |
parent | dirmngr: Do not follow https-to-http redirects. (diff) | |
download | gnupg-68c8619114fd5f24cb6bfb9e0f25c428a8805323.tar.gz gnupg-68c8619114fd5f24cb6bfb9e0f25c428a8805323.zip |
gpg: Make --dry-run and show-only work for secret keys.
* g10/import.c (import_secret_one): Check for dry-run before
transferring keys.
--
The use of --dry-run or --import-option show-only had no effect when
importing a secret key and the public key already existed. If the
public key did not exist an error message inhibited the import of the
secret key.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-http.c')
0 files changed, 0 insertions, 0 deletions