diff options
author | Werner Koch <[email protected]> | 2021-05-17 13:42:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-05-17 13:42:27 +0000 |
commit | eeb65d3bbd7d461694d30009631739735a2b9bad (patch) | |
tree | 36c3faf456ae44793fd5574cf09a3721aeef2f6d /sm/import.c | |
parent | sm: Support decryption of password based encryption (pwri) (diff) | |
download | gnupg-eeb65d3bbd7d461694d30009631739735a2b9bad.tar.gz gnupg-eeb65d3bbd7d461694d30009631739735a2b9bad.zip |
sm: Ask for the password for password based decryption (pwri)
* sm/decrypt.c (pwri_decrypt): Add arg ctrl. Ask for passphrase.
* sm/export.c (export_p12): Mark string as translatable.
* sm/import.c (parse_p12): Ditto.
--
This is finishes the support for PWRI.
The N_() marks are added so that we don't rely of the side-effect of
having the same strings in protect-tool.c
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/import.c')
-rw-r--r-- | sm/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/import.c b/sm/import.c index 3d08254c8..0b8fbadb6 100644 --- a/sm/import.c +++ b/sm/import.c @@ -771,7 +771,7 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader, struct stats_s *stats) err = gpgsm_agent_ask_passphrase (ctrl, - i18n_utf8 ("Please enter the passphrase to unprotect the PKCS#12 object."), + i18n_utf8 (N_("Please enter the passphrase to unprotect the PKCS#12 object.")), 0, &passphrase); if (err) goto leave; |