Commit fb35ca3
test: test hmac binding robustness
The Hmac binding layer is not documented as part of the API, and is not
intended to be used, but it should be robust to misuse, and contains
defensive checks for misuse. This test checks that updates without init
throw (as opposed to abort or misbehave in some other way).
PR-URL: #10923
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent c4b9f0a commit fb35ca3Copy full SHA for fb35ca3
File tree
Expand file treeCollapse file tree
1 file changed
+8
-0
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+8
-0
lines changedOpen diff view settings
Collapse file
test/parallel/test-crypto-hmac.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-hmac.js+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
11 | 19 | |
12 | 20 | |
13 | 21 | |
|
0 commit comments