diff options
author | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2012-06-05 19:29:22 +0200 |
commit | 096e7457ec636bcfcf128678660eb2f2e19f113a (patch) | |
tree | b54df55112f195895d6d952ce3cfb3f4c98e7683 /agent/t-protect.c | |
parent | Print the hash algorithm in colon mode key listing. (diff) | |
download | gnupg2-096e7457ec636bcfcf128678660eb2f2e19f113a.tar.xz gnupg2-096e7457ec636bcfcf128678660eb2f2e19f113a.zip |
Change all quotes in strings and comments to the new GNU standard.
The asymmetric quotes used by GNU in the past (`...') don't render
nicely on modern systems. We now use two \x27 characters ('...').
The proper solution would be to use the correct Unicode symmetric
quotes here. However this has the disadvantage that the system
requires Unicode support. We don't want that today. If Unicode is
available a generated po file can be used to output proper quotes. A
simple sed script like the one used for en@quote is sufficient to
change them.
The changes have been done by applying
sed -i "s/\`\([^'\`]*\)'/'\1'/g"
to most files and fixing obvious problems by hand. The msgid strings in
the po files were fixed with a similar command.
Diffstat (limited to 'agent/t-protect.c')
-rw-r--r-- | agent/t-protect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/t-protect.c b/agent/t-protect.c index 4b6e0b48c..67a60a897 100644 --- a/agent/t-protect.c +++ b/agent/t-protect.c @@ -107,7 +107,7 @@ test_agent_protect (void) "\xA4\x44\x3B\xA5\x3A\x52\xFC\xA8\x17\x3D\xE6\xE8\x5B\x42\xF9\x78\x3D\x4A\x78\x17" "\xD0\x68\x0B\x29\x29\x00" }; - /* This RSA key is the `e' value. */ + /* This RSA key is the 'e' value. */ struct key_spec key_rsa_bogus_1 = { "\x28\x31\x31\x3A\x70\x72\x69\x76\x61\x74\x65\x2D\x6B\x65\x79\x28\x33\x3A\x72\x73" @@ -177,7 +177,7 @@ test_agent_protect (void) &specs[i].result, &specs[i].resultlen, 0); if (gpg_err_code (ret) != specs[i].ret_expected) { - printf ("agent_protect() returned `%i/%s'; expected `%i/%s'\n", + printf ("agent_protect() returned '%i/%s'; expected '%i/%s'\n", ret, gpg_strerror (ret), specs[i].ret_expected, gpg_strerror (specs[i].ret_expected)); abort (); |