File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 3
3
name: 'tls
4
4
type: 'module
5
5
author: rights: ["Richard 'Cyphre' Smolak" "Oldes" "Brian Dickens (Hostilefork)" ]
6
- version: 0.7.1
6
+ version: 0.7.3
7
7
history: [
8
8
0.6.1 "Cyphre" "Initial implementation used in old R3-alpha"
9
9
0.7.0 "Oldes" {
@@ -20,6 +20,7 @@ REBOL [
20
20
* Basic support for EllipticCurves (x25519 still missing)
21
21
* Added support for Chacha20-Poly1305 cipher suite
22
22
}
23
+ 0.7.3 "Oldes" "Fixed RSA memory leak"
23
24
]
24
25
todo: {
25
26
* cached sessions
@@ -629,6 +630,7 @@ client-key-exchange: function [
629
630
key-data: rsa/encrypt rsa-key pre-master-secret
630
631
key-data-len-bytes: 2
631
632
log-more ["W[" ctx/seq-write "] key-data:" mold key-data]
633
+ rsa rsa-key none ;@@ releases the internal RSA data, should be done by GC one day!
632
634
]
633
635
DHE_DSS
634
636
DHE_RSA [
@@ -1578,6 +1580,7 @@ TLS-parse-handshake-message: function [
1578
1580
;decrypt the `signature` with server's public key
1579
1581
rsa-key: apply :rsa-init ctx/server-certs/1/public-key/rsaEncryption
1580
1582
signature: rsa/verify rsa-key signature
1583
+ rsa rsa-key none ;@@ releases the internal RSA data, should be done by GC one day!
1581
1584
;?? signature
1582
1585
signature: decode 'der signature
1583
1586
;note tls1.3 is different a little bit here!
You can’t perform that action at this time.
0 commit comments