aboutsummaryrefslogtreecommitdiffstats
path: root/src/passwd.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2012-09-25 13:29:49 +0000
committerWerner Koch <[email protected]>2012-09-25 13:29:49 +0000
commit139e798c8782b09460052a453142addf1174d878 (patch)
tree3cc8f7a11668a51aba7b9a69be5178fb6f8aba34 /src/passwd.c
parentAdd two recent contributors. (diff)
downloadgpgme-139e798c8782b09460052a453142addf1174d878.tar.gz
gpgme-139e798c8782b09460052a453142addf1174d878.zip
Remove all trailing whitespace from source files
-- Command used: sed -i 's,[ \t]*$,,' FILE
Diffstat (limited to 'src/passwd.c')
-rw-r--r--src/passwd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/passwd.c b/src/passwd.c
index 97b69603..0ed54ba6 100644
--- a/src/passwd.c
+++ b/src/passwd.c
@@ -2,17 +2,17 @@
Copyright (C) 2010 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, see <http://www.gnu.org/licenses/>.
*/
@@ -53,7 +53,7 @@ parse_error (char *args)
if (where)
*where = '\0';
- where = args;
+ where = args;
}
else
return gpg_error (GPG_ERR_INV_ENGINE);
@@ -91,7 +91,7 @@ passwd_status_handler (void *priv, gpgme_status_code_t code, char *args)
case GPGME_STATUS_SUCCESS:
opd->success_seen = 1;
break;
-
+
case GPGME_STATUS_EOF:
/* In case the OpenPGP engine does not properly implement the
passwd command we won't get a success status back and thus we
@@ -147,7 +147,7 @@ passwd_start (gpgme_ctx_t ctx, int synchronous, gpgme_key_t key,
/* Change the passphrase for KEY. FLAGS is reserved for future use
and must be passed as 0. The engine is expected to present a user
interface to enter the old and the new passphrase. This is the
- asynchronous variant.
+ asynchronous variant.
Note that if ever the need arises to supply a passphrase we can do
this with a flag value and the passphrase callback feature. */