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/export.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/export.c')
-rw-r--r-- | sm/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sm/export.c b/sm/export.c index 32f04565f..54893b54d 100644 --- a/sm/export.c +++ b/sm/export.c @@ -724,8 +724,8 @@ export_p12 (ctrl_t ctrl, const unsigned char *certimg, size_t certimglen, { err = gpgsm_agent_ask_passphrase (ctrl, - i18n_utf8 ("Please enter the passphrase to protect the " - "new PKCS#12 object."), + i18n_utf8 (N_("Please enter the passphrase to protect the " + "new PKCS#12 object.")), 1, &passphrase); if (err) goto leave; |