On 16/12/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote:
I checked the pkcs15-tcos.c, it does not use german umlaut in the cert
names, but uses "ue" and friends, i.e. ascii only.
Can you give me the line number? I can't find a non-ASCII character in
pkcs15-tcos.c. At least vim is happy with the file as it is now
(revision 3074).
What about other drivers? anyone else setting certificate names?
are all of them in ascii encoding, or some of them in iso8859-1 or
utf-8?
I used: "find -name '*.[ch]' | xargs recode latin1..utf8" to convert
the OpenSC source code files.
The diff is attached.
All the changes are names in copyright comments except a string in
src/signer/testprog.c
pl.signdata = strdup("12345\nMoro moro, mitä poro\nTesting 1234567890");
Maybe this text could be translated in english?
I also converted the OpenCT source code but all the files are ASCII
only so no convertion is needed.
Bye,
--
Dr. Ludovic Rousseau
Index: src/tools/cardos-info.c
===================================================================
--- src/tools/cardos-info.c (révision 3074)
+++ src/tools/cardos-info.c (copie de travail)
@@ -2,7 +2,7 @@
* cardos-info.c: Info about Card OS based tokens
*
* Copyright (C) 2003 Andreas Jellinghaus <[EMAIL PROTECTED]>
- * Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/pkcs11/pkcs11-object.c
===================================================================
--- src/pkcs11/pkcs11-object.c (révision 3074)
+++ src/pkcs11/pkcs11-object.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* pkcs11-object.c: PKCS#11 object management and handling functions
*
- * Copyright (C) 2002 Timo Teräs <[EMAIL PROTECTED]>
+ * Copyright (C) 2002 Timo Teräs <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/pkcs11/pkcs11-session.c
===================================================================
--- src/pkcs11/pkcs11-session.c (révision 3074)
+++ src/pkcs11/pkcs11-session.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* pkcs11-session.c: PKCS#11 functions for session management
*
- * Copyright (C) 2001 Timo Teräs <[EMAIL PROTECTED]>
+ * Copyright (C) 2001 Timo Teräs <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/pkcs11/framework-pkcs15init.c
===================================================================
--- src/pkcs11/framework-pkcs15init.c (révision 3074)
+++ src/pkcs11/framework-pkcs15init.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* framework-pkcs15.c: PKCS#15 framework and related objects
*
- * Copyright (C) 2002 Timo Teräs <[EMAIL PROTECTED]>
+ * Copyright (C) 2002 Timo Teräs <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/tests/lottery.c
===================================================================
--- src/tests/lottery.c (révision 3074)
+++ src/tests/lottery.c (copie de travail)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
* All rights reserved.
*/
Index: src/tests/pintest.c
===================================================================
--- src/tests/pintest.c (révision 3074)
+++ src/tests/pintest.c (copie de travail)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
* All rights reserved.
*
* PKCS#15 PIN code test
Index: src/tests/prngtest.c
===================================================================
--- src/tests/prngtest.c (révision 3074)
+++ src/tests/prngtest.c (copie de travail)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
* All rights reserved.
*
* Pseudo-random number generator test program
Index: src/tests/p15dump.c
===================================================================
--- src/tests/p15dump.c (révision 3074)
+++ src/tests/p15dump.c (copie de travail)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+/* Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
* All rights reserved.
*
* PKCS#15 objects test
Index: src/tests/print.c
===================================================================
--- src/tests/print.c (révision 3074)
+++ src/tests/print.c (copie de travail)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+/* Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
* All rights reserved.
*
* PKCS#15 PIN code test
Index: src/signer/testprog.c
===================================================================
--- src/signer/testprog.c (révision 3074)
+++ src/signer/testprog.c (copie de travail)
@@ -37,7 +37,7 @@ int main(void)
return 0;
#endif
- pl.signdata = strdup("12345\nMoro moro, mitä poro\nTesting 1234567890");
+ pl.signdata = strdup("12345\nMoro moro, mitä poro\nTesting
1234567890");
pl.signdata_len = strlen(pl.signdata);
r = create_envelope(&pl, &data, &datalen);
if (r) {
Index: src/pkcs15init/pkcs15-oberthur.c
===================================================================
--- src/pkcs15init/pkcs15-oberthur.c (révision 3074)
+++ src/pkcs15init/pkcs15-oberthur.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* Oberthur specific operation for PKCS #15 initialization
*
- * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
* Copyright (C) 2003 Idealx <www.idealx.org>
* Viktor Tarasov <[EMAIL PROTECTED]>
*
Index: src/pkcs15init/pkcs15-miocos.c
===================================================================
--- src/pkcs15init/pkcs15-miocos.c (révision 3074)
+++ src/pkcs15init/pkcs15-miocos.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* MioCOS specific operation for PKCS15 initialization
*
- * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/pkcs15init/pkcs15-cflex.c
===================================================================
--- src/pkcs15init/pkcs15-cflex.c (révision 3074)
+++ src/pkcs15init/pkcs15-cflex.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* Cryptoflex specific operation for PKCS #15 initialization
*
- * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/card-emv.c
===================================================================
--- src/libopensc/card-emv.c (révision 3074)
+++ src/libopensc/card-emv.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* card-emv.c: Functions specified by the EMV standard
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/padding.c
===================================================================
--- src/libopensc/padding.c (révision 3074)
+++ src/libopensc/padding.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* sc-padding.c: miscellaneous padding functions
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
* Copyright (C) 2003 Nils Larsch <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
Index: src/libopensc/pkcs15-cache.c
===================================================================
--- src/libopensc/pkcs15-cache.c (révision 3074)
+++ src/libopensc/pkcs15-cache.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* pkcs15-cache.c: PKCS #15 file caching functions
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/errors.c
===================================================================
--- src/libopensc/errors.c (révision 3074)
+++ src/libopensc/errors.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* errors.c: The textual representation of errors
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/errors.h
===================================================================
--- src/libopensc/errors.h (révision 3074)
+++ src/libopensc/errors.h (copie de travail)
@@ -1,7 +1,7 @@
/*
* errors.h: OpenSC error codes
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/card-incrypto34.c
===================================================================
--- src/libopensc/card-incrypto34.c (révision 3074)
+++ src/libopensc/card-incrypto34.c (copie de travail)
@@ -4,7 +4,7 @@
*
* Copyright (C) 2005 ST Incard srl, Giuseppe Amato <giuseppe dot amato at st
dot com>
* Copyright (C) 2002 Andreas Jellinghaus <[EMAIL PROTECTED]>
- * Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/pkcs15-pin.c
===================================================================
--- src/libopensc/pkcs15-pin.c (révision 3074)
+++ src/libopensc/pkcs15-pin.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* pkcs15-pin.c: PKCS #15 PIN functions
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/card-atrust-acos.c
===================================================================
--- src/libopensc/card-atrust-acos.c (révision 3074)
+++ src/libopensc/card-atrust-acos.c (copie de travail)
@@ -2,7 +2,7 @@
* atrust-acos.c: Support for A-Trust ACOS based cards
*
* Copyright (C) 2005 Franz Brandl <[EMAIL PROTECTED]> based on work from
- * Jörn Zukowski <[EMAIL PROTECTED]> and
+ * Jörn Zukowski <[EMAIL PROTECTED]> and
* Nils Larsch <[EMAIL PROTECTED]>, TrustCenter AG
*
* This library is free software; you can redistribute it and/or
Index: src/libopensc/card-default.c
===================================================================
--- src/libopensc/card-default.c (révision 3074)
+++ src/libopensc/card-default.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* card-default.c: Support for cards with no driver
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/types.h
===================================================================
--- src/libopensc/types.h (révision 3074)
+++ src/libopensc/types.h (copie de travail)
@@ -1,7 +1,7 @@
/*
* types.h: OpenSC general types
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/card-tcos.c
===================================================================
--- src/libopensc/card-tcos.c (révision 3074)
+++ src/libopensc/card-tcos.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* card-tcos.c: Support for TCOS 2.0 cards
*
- * Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001 Juha Yrjölä <[EMAIL PROTECTED]>
* Copyright (C) 2002 g10 Code GmbH
*
* This library is free software; you can redistribute it and/or
Index: src/libopensc/card-miocos.c
===================================================================
--- src/libopensc/card-miocos.c (révision 3074)
+++ src/libopensc/card-miocos.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* card-miocos.c: Support for PKI cards by Miotec
*
- * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/dir.c
===================================================================
--- src/libopensc/dir.c (révision 3074)
+++ src/libopensc/dir.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* dir.c: Stuff for handling EF(DIR)
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/log.c
===================================================================
--- src/libopensc/log.c (révision 3074)
+++ src/libopensc/log.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* log.c: Miscellaneous logging functions
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
* Copyright (C) 2003 Antti Tapaninen <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
Index: src/libopensc/base64.c
===================================================================
--- src/libopensc/base64.c (révision 3074)
+++ src/libopensc/base64.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* base64.c: Base64 converting functions
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/emv.c
===================================================================
--- src/libopensc/emv.c (révision 3074)
+++ src/libopensc/emv.c (copie de travail)
@@ -1,7 +1,7 @@
/*
* emv.c: EMV functions
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
Index: src/libopensc/emv.h
===================================================================
--- src/libopensc/emv.h (révision 3074)
+++ src/libopensc/emv.h (copie de travail)
@@ -1,7 +1,7 @@
/*
* emv.h: OpenSC EMV header file
*
- * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
+ * Copyright (C) 2001, 2002 Juha Yrjölä <[EMAIL PROTECTED]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel