From 71eaffc0ee091d194676fa90743745001454d586 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Sat, 21 Jul 2012 09:33:28 +0900 Subject: [PATCH] version 1.0 --- ChangeLog | 3 +++ README | 4 ++-- src/usb_desc.c | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53520c1..614c1cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-07-21 Niibe Yutaka + * Version 1.0. + * src/usb_desc.c (gnukStringSerial): Updated. + Documentation by Sphinx. * doc/Makefile: New. * doc/note: Old notes are moved here. diff --git a/README b/README index b80aaaa..f0f649d 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Gnuk - An Implementation of USB Cryptographic Token for GnuPG Version 1.0 - 2012-08-XX + 2012-07-21 Niibe Yutaka Free Software Initiative of Japan @@ -338,7 +338,7 @@ Recently, there is "gcc-arm-embedded" project. See: https://launchpad.net/gcc-arm-embedded/ It is based on GCC 4.6. For version 4.6-2012-q2-update, you'd -need "-O3 -s" instead of "-O2" and it will be slightly better. +need "-O3 -Os" instead of "-O2" and it will be slightly better. Change directory to `src': diff --git a/src/usb_desc.c b/src/usb_desc.c index ed90d99..3d37dbd 100644 --- a/src/usb_desc.c +++ b/src/usb_desc.c @@ -258,11 +258,11 @@ static const uint8_t gnukStringLangID[] = { #include "usb-strings.c.inc" const uint8_t gnukStringSerial[] = { - 18*2+2, /* bLength */ + 17*2+2, /* bLength */ USB_STRING_DESCRIPTOR_TYPE, /* bDescriptorType */ - /* FSIJ-0.19 */ + /* FSIJ-1.0 */ 'F', 0, 'S', 0, 'I', 0, 'J', 0, '-', 0, - '0', 0, '.', 0, '2', 0, '1', 0, /* Version number of Gnuk */ + '1', 0, '.', 0, '0', 0, /* Version number of Gnuk */ '-', 0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,