First implementation of udev rules for ykpersepel9
parent
0a9fa8920f
commit
95ca53ae61
@ -1,3 +1,4 @@
|
||||
ykpers-1.3.3.tar.gz
|
||||
/ykpers-1.3.4.tar.gz
|
||||
/ykpers-1.4.1.tar.gz
|
||||
/ykpers-1.6.0.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
d0e75bc020d8efefbf0cf18df23a7219 ykpers-1.4.1.tar.gz
|
||||
78bc83dbadbc547ccb5242dd812ab627 ykpers-1.6.0.tar.gz
|
||||
|
@ -0,0 +1,11 @@
|
||||
diff -up ykpers-1.6.0/tests/test_args_to_config.c.bigendian ykpers-1.6.0/tests/test_args_to_config.c
|
||||
--- ykpers-1.6.0/tests/test_args_to_config.c.bigendian 2011-07-21 11:27:59.614946704 +0200
|
||||
+++ ykpers-1.6.0/tests/test_args_to_config.c 2011-07-21 11:28:52.805128364 +0200
|
||||
@@ -86,6 +86,7 @@ void _check_success(int rc, YKP_CONFIG *
|
||||
/* insert CRC */
|
||||
ycfg->crc = ~yubikey_crc16 ((unsigned char *) ycfg,
|
||||
offsetof(struct config_st, crc));
|
||||
+ ycfg->crc = yk_endian_swap_16(ycfg->crc);
|
||||
|
||||
config_matches_expected = ! memcmp(expected, ycfg, sizeof(*ycfg));
|
||||
if (! config_matches_expected) {
|
@ -0,0 +1,12 @@
|
||||
diff -up ykpers-1.6.0/ykpers-args.c.getopt ykpers-1.6.0/ykpers-args.c
|
||||
--- ykpers-1.6.0/ykpers-args.c.getopt 2011-07-21 11:24:59.516717544 +0200
|
||||
+++ ykpers-1.6.0/ykpers-args.c 2011-07-21 11:25:10.343550972 +0200
|
||||
@@ -197,7 +197,7 @@ int args_to_config(int argc, char **argv
|
||||
bool *aesviahash,
|
||||
int *exit_code)
|
||||
{
|
||||
- char c;
|
||||
+ int c;
|
||||
const char *aeshash = NULL;
|
||||
bool new_access_code = false;
|
||||
bool slot_chosen = false;
|
Loading…
Reference in new issue