Skip to content

Commit

Permalink
Merge pull request #90 from Yubico/t-janitor
Browse files Browse the repository at this point in the history
Janitorial: Small fixups.
  • Loading branch information
thorduri committed Sep 30, 2016
2 parents 9959885 + 166902d commit fde3ea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -152,3 +152,4 @@ libhmac_la-usha.o
ykpersonalize.1
ykchalresp.1
ykinfo.1
*.xml
2 changes: 1 addition & 1 deletion ykpers.c
Expand Up @@ -166,7 +166,7 @@ int ykp_configure_command(YKP_CONFIG *cfg, uint8_t command)
case SLOT_CONFIG:
break;
case SLOT_CONFIG2:
if (!cfg->yk_major_version >= 2) {
if (!(cfg->yk_major_version >= 2)) {
ykp_errno = YKP_EOLDYUBIKEY;
return 0;
}
Expand Down

0 comments on commit fde3ea8

Please sign in to comment.