[PATCH] crypto: convert "crypto" subdirectory to UTF-8

From: John Anthony Kazos Jr.
Date: Tue Apr 17 2007 - 13:32:36 EST


From: John Anthony Kazos Jr. <jakj@xxxxxxxxxxx>

Convert the subdirectory "crypto" to UTF-8. The files changed are
<crypto/fcrypt.c> and <crypto/api.c>.

Signed-off-by: John Anthony Kazos Jr. <jakj@xxxxxxxxxxx>

---

I can't get my mail client to send in ISO-8859-1 instead of UTF-8, so the
actual patch is attached in octet-stream format. The below patch is just
for reference and will almost certainly NOT work.

Also, since the patch includes both encodings, whichever encoding you
select while viewing it will display one correct and one garbled line.
However, the bytecodes -are- correct.

diff -uprN linux-2.6.21-rc7.orig/crypto/api.c linux-2.6.21-rc7.mod/crypto/api.c
--- linux-2.6.21-rc7.orig/crypto/api.c 2007-04-17 11:41:50.000000000 -0400
+++ linux-2.6.21-rc7.mod/crypto/api.c 2007-04-17 13:21:52.000000000 -0400
@@ -6,7 +6,7 @@
* Copyright (c) 2005 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
*
* Portions derived from Cryptoapi, by Alexander Kjeldaas <astor@xxxxxxx>
- * and Nettle, by Niels Möller.
+ * and Nettle, by Niels Möller.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
diff -uprN linux-2.6.21-rc7.orig/crypto/fcrypt.c linux-2.6.21-rc7.mod/crypto/fcrypt.c
--- linux-2.6.21-rc7.orig/crypto/fcrypt.c 2007-04-17 11:41:50.000000000 -0400
+++ linux-2.6.21-rc7.mod/crypto/fcrypt.c 2007-04-17 13:21:52.000000000 -0400
@@ -10,7 +10,7 @@
*
* Based on code:
*
- * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan
+ * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*

Attachment: patch-crypto.bin
Description: Binary data