From eeb65d3bbd7d461694d30009631739735a2b9bad Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 17 May 2021 15:42:27 +0200 Subject: 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 --- sm/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sm/import.c') 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; -- cgit v1.2.3