Skip to content

Commit 2de4670

Browse files
committed
rev KeyShareServerHello
1 parent 807f093 commit 2de4670

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tls/extension",
3-
"version": "0.1.8",
3+
"version": "0.1.9",
44
"exports": "./src/mod.ts",
55
"publish": {
66
"exclude": ["dist/"]

src/keyshare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class KeyShareServerHello extends Uint16 {
9696

9797
static from(array) {
9898
const copy = Uint8Array.from(array)
99-
const keyShareEntry = KeyShareEntry.from(copy.subarray(offset));
99+
const keyShareEntry = KeyShareEntry.from(copy);
100100
return new KeyShareServerHello(keyShareEntry)
101101
}
102102

0 commit comments

Comments
 (0)