aboutsummaryrefslogtreecommitdiffstats
path: root/agent/t-protect.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-02-04 11:57:53 +0000
committerWerner Koch <[email protected]>2011-02-04 11:57:53 +0000
commitb008274afdbe375b32a7e66dbd073e200f6f0587 (patch)
tree219e239d39cf06be3f03aa82fb572080ac163a15 /agent/t-protect.c
parentLet autogen.sh check the git config (diff)
downloadgnupg-b008274afdbe375b32a7e66dbd073e200f6f0587.tar.gz
gnupg-b008274afdbe375b32a7e66dbd073e200f6f0587.zip
Nuked almost all trailing white space.post-nuke-of-trailing-ws
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.
Diffstat (limited to 'agent/t-protect.c')
-rw-r--r--agent/t-protect.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/agent/t-protect.c b/agent/t-protect.c
index 7b80bcbbb..a14e5e1cc 100644
--- a/agent/t-protect.c
+++ b/agent/t-protect.c
@@ -137,7 +137,7 @@ test_agent_protect (void)
"\x9B\x7B\xE8\xDD\x1F\x87\x4E\x79\x7B\x50\x12\xA7\xB4\x8B\x52\x38\xEC\x7C\xBB\xB9"
"\x55\x87\x11\x1C\x74\xE7\x7F\xA0\xBA\xE3\x34\x5D\x61\xBF\x29\x29\x29\x00"
};
-
+
struct
{
const char *key;
@@ -182,7 +182,7 @@ test_agent_protect (void)
specs[i].ret_expected, gpg_strerror (specs[i].ret_expected));
abort ();
}
-
+
if (specs[i].no_result_expected)
{
assert (! specs[i].result);
@@ -234,14 +234,14 @@ static void
test_make_shadow_info (void)
{
#if 0
- static struct
+ static struct
{
- const char *snstr;
+ const char *snstr;
const char *idstr;
const char *expected;
} data[] = {
{ "", "", NULL },
-
+
};
int i;
unsigned char *result;
@@ -305,7 +305,7 @@ main (int argc, char **argv)
(void)argv;
gcry_control (GCRYCTL_DISABLE_SECMEM);
-
+
test_agent_protect ();
test_agent_unprotect ();
test_agent_private_key_type ();