Skip to content

Commit

Permalink
revise ClientHello
Browse files Browse the repository at this point in the history
  • Loading branch information
Srabutdotcom committed Jan 4, 2025
1 parent 2c5151d commit 3d30ec6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tls/keyexchange",
"version": "0.1.0",
"version": "0.1.1",
"exports": "./src/mod.ts",
"publish": {
"exclude": ["dist/"]
Expand All @@ -14,7 +14,7 @@
},
"imports": {
"@std/assert": "jsr:@std/assert@^1.0.2",
"@tls/enum": "jsr:@tls/enum@^0.4.7",
"@tls/enum": "jsr:@tls/enum@^0.4.9",
"@tls/extension": "jsr:@tls/extension@^0.2.6",
"@tls/struct": "jsr:@tls/struct@^0.3.6"
}
Expand Down
14 changes: 12 additions & 2 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/clienthello.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class ClientHello extends Struct {
)
}
toRecord() {
return ContentType.HANDSHAKE.tlsPlainText(
return ContentType.HANDSHAKE.tlsPlaintext(
HandshakeType.CLIENT_HELLO.handshake(this)
)
}
Expand Down

0 comments on commit 3d30ec6

Please sign in to comment.