Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
Fido2Applet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
Fido2Applet
Commits
20ea892c
An error occurred while fetching merge requests data.
Commit
20ea892c
authored
2 years ago
by
Josh Ji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change dataBuffer size to 1510
parent
698cd82e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/josh/vku2f/CTAP2.java
src/main/java/com/josh/vku2f/CTAP2.java
+2
-2
No files found.
src/main/java/com/josh/vku2f/CTAP2.java
View file @
20ea892c
...
@@ -113,9 +113,9 @@ public class CTAP2 extends Applet implements ExtendedLength {
...
@@ -113,9 +113,9 @@ public class CTAP2 extends Applet implements ExtendedLength {
// 1210 bytes of a transient buffer for read-in and out
// 1210 bytes of a transient buffer for read-in and out
// We advertise 1200 bytes supported, but 10 bytes for protocol nonsense
// We advertise 1200 bytes supported, but 10 bytes for protocol nonsense
try
{
try
{
dataBuffer
=
JCSystem
.
makeTransientByteArray
((
short
)
20
10
,
JCSystem
.
CLEAR_ON_DESELECT
);
dataBuffer
=
JCSystem
.
makeTransientByteArray
((
short
)
15
10
,
JCSystem
.
CLEAR_ON_DESELECT
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
dataBuffer
=
new
byte
[
20
10
];
dataBuffer
=
new
byte
[
15
10
];
}
}
try
{
try
{
scratch
=
JCSystem
.
makeTransientByteArray
((
short
)
512
,
JCSystem
.
CLEAR_ON_DESELECT
);
scratch
=
JCSystem
.
makeTransientByteArray
((
short
)
512
,
JCSystem
.
CLEAR_ON_DESELECT
);
...
...
This diff is collapsed.
Click to expand it.
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