diff options
author | Werner Koch <[email protected]> | 2012-09-25 13:29:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2012-09-25 13:29:49 +0000 |
commit | 139e798c8782b09460052a453142addf1174d878 (patch) | |
tree | 3cc8f7a11668a51aba7b9a69be5178fb6f8aba34 /src/passphrase.c | |
parent | Add two recent contributors. (diff) | |
download | gpgme-139e798c8782b09460052a453142addf1174d878.tar.gz gpgme-139e798c8782b09460052a453142addf1174d878.zip |
Remove all trailing whitespace from source files
--
Command used: sed -i 's,[ \t]*$,,' FILE
Diffstat (limited to 'src/passphrase.c')
-rw-r--r-- | src/passphrase.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/passphrase.c b/src/passphrase.c index c36b6ae4..17f14436 100644 --- a/src/passphrase.c +++ b/src/passphrase.c @@ -1,19 +1,19 @@ /* passphrase.c - Passphrase callback. Copyright (C) 2000 Werner Koch (dd9jn) Copyright (C) 2001, 2002, 2003, 2004, 2005 g10 Code GmbH - + This file is part of GPGME. - + GPGME is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - + GPGME is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - + You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -133,7 +133,7 @@ _gpgme_passphrase_command_handler (void *priv, gpgme_status_code_t code, if (err) return err; - if (code == GPGME_STATUS_GET_HIDDEN + if (code == GPGME_STATUS_GET_HIDDEN && (!strcmp (key, "passphrase.enter") || !strcmp (key, "passphrase.pin.ask"))) { |