mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
ready for a new release
This commit is contained in:
parent
a43709eb8a
commit
6ccf4e0f80
32 changed files with 470 additions and 164 deletions
11
g10/revoke.c
11
g10/revoke.c
|
@ -33,6 +33,8 @@
|
|||
#include "util.h"
|
||||
#include "main.h"
|
||||
#include "ttyio.h"
|
||||
#include "status.h"
|
||||
#include "i18n.h"
|
||||
|
||||
|
||||
/****************
|
||||
|
@ -53,8 +55,6 @@ gen_revoke( const char *uname )
|
|||
KBNODE keyblock = NULL;
|
||||
KBNODE node;
|
||||
KBPOS kbpos;
|
||||
char *answer;
|
||||
int yes;
|
||||
|
||||
if( opt.batch ) {
|
||||
log_error("sorry, can't do this in batch mode\n");
|
||||
|
@ -117,11 +117,8 @@ gen_revoke( const char *uname )
|
|||
}
|
||||
|
||||
tty_printf("\n");
|
||||
answer = tty_get("Create a revocation certificate for this key? ");
|
||||
tty_kill_prompt();
|
||||
yes = answer_is_yes(answer);
|
||||
m_free(answer);
|
||||
if( !yes ) {
|
||||
if( !cpr_get_answer_is_yes(N_("gen_revoke.okay"),
|
||||
_("Create a revocation certificate for this key? ")) ){
|
||||
rc = 0;
|
||||
goto leave;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue