Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libnfc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian
libnfc
Commits
0841a94c
Commit
0841a94c
authored
Apr 09, 2013
by
Philippe Teuwen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfc-mfclassic: allow option f for read operation too
parent
29c7ef19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
ChangeLog
ChangeLog
+6
-0
utils/nfc-mfclassic.c
utils/nfc-mfclassic.c
+1
-0
No files found.
ChangeLog
View file @
0841a94c
TBD - 1.7.0
-----------
Fixes:
- nfc-mfclassic: allow option f for read operation too
Apr 05, 2013 - 1.7.0-rc7 (release candidate)
--------------------------------------------
...
...
utils/nfc-mfclassic.c
View file @
0841a94c
...
...
@@ -486,6 +486,7 @@ main(int argc, const char *argv[])
bUseKeyA
=
tolower
((
int
)((
unsigned
char
)
*
(
argv
[
2
])))
==
'a'
;
bTolerateFailures
=
tolower
((
int
)((
unsigned
char
)
*
(
argv
[
2
])))
!=
(
int
)((
unsigned
char
)
*
(
argv
[
2
]));
bUseKeyFile
=
(
argc
>
4
);
bForceKeyFile
=
((
argc
>
5
)
&&
(
strcmp
((
char
*
)
argv
[
5
],
"f"
)
==
0
));
}
else
if
(
strcmp
(
command
,
"w"
)
==
0
||
strcmp
(
command
,
"W"
)
==
0
)
{
if
(
argc
<
4
)
{
print_usage
(
argv
[
0
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment