From b008274afdbe375b32a7e66dbd073e200f6f0587 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 4 Feb 2011 12:57:53 +0100 Subject: Nuked almost all trailing white space. We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again. --- sm/certreqgen-ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sm/certreqgen-ui.c') diff --git a/sm/certreqgen-ui.c b/sm/certreqgen-ui.c index 3dabb654e..526a182bb 100644 --- a/sm/certreqgen-ui.c +++ b/sm/certreqgen-ui.c @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include @@ -40,7 +40,7 @@ ask_mb_lines (membuf_t *mb, const char *prefix) { char *answer = NULL; - do + do { xfree (answer); answer = tty_get ("> "); @@ -88,7 +88,7 @@ store_mb_lines (membuf_t *mb, membuf_t *lines) /* Chech whether we have a key for the key with HEXGRIP. Returns NULL if not or a string describing the type of the key (RSA, ELG, DSA, - etc..). */ + etc..). */ static const char * check_keygrip (ctrl_t ctrl, const char *hexgrip) { @@ -202,7 +202,7 @@ gpgsm_gencertreq_tty (ctrl_t ctrl, estream_t output_stream) answer = tty_get (_("Enter the keygrip: ")); tty_kill_prompt (); trim_spaces (answer); - + if (!*answer) goto again; else if (strlen (answer) != 40 && -- cgit v1.2.3