Check-in [9043258dc4]
Overview
Comment:Updated to support supplying an empty PIN command to be equivelant to unsetting
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:9043258dc48ae057d9e7859acda5872ffdf2b6f3
User & Date: rkeene on 2017-12-28 01:32:12
Other Links: manifest | tags
Context
2018-08-24
21:33
Updated URL for RPM spec file check-in: 1efa305922 user: rkeene tags: trunk
2017-12-28
01:32
More work on improving the wrapper check-in: 3b7b2eddb4 user: rkeene tags: better-wrapping
01:32
Updated to support supplying an empty PIN command to be equivelant to unsetting check-in: 9043258dc4 user: rkeene tags: trunk
2017-12-27
18:59
CACKey 0.7.9 check-in: ac7bd0bf8f user: rkeene tags: trunk
Changes

Modified cackey.c from [de5cf6edd0] to [911e072212].

  4699   4699   	if (getenv("CACKEY_PIN_COMMAND") != NULL) {
  4700   4700   		cackey_pin_command = strdup(getenv("CACKEY_PIN_COMMAND"));
  4701   4701   	}
  4702   4702   
  4703   4703   	if (getenv("CACKEY_PIN_COMMAND_XONLY") != NULL && getenv("DISPLAY") != NULL) {
  4704   4704   		cackey_pin_command = strdup(getenv("CACKEY_PIN_COMMAND_XONLY"));
  4705   4705   	}
         4706  +
         4707  +	if (strcmp(cackey_pin_command, "") == 0) {
         4708  +		free(cackey_pin_command);
         4709  +		cackey_pin_command = NULL;
         4710  +	}
  4706   4711   
  4707   4712   #ifdef CACKEY_READERS_INCLUDE_ONLY_DEFAULT
  4708   4713   	cackey_readers_include_only = strdup(CACKEY_MACRO_DEFAULT_XSTR(CACKEY_READERS_INCLUDE_ONLY_DEFAULT));
  4709   4714   #endif
  4710   4715   
  4711   4716   #ifdef CACKEY_READERS_EXCLUDE_DEFAULT
  4712   4717   	cackey_readers_exclude = strdup(CACKEY_MACRO_DEFAULT_XSTR(CACKEY_READERS_EXCLUDE_DEFAULT));