-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pion/dtls to master #153
Conversation
c251074
to
d7a6d5f
Compare
4a52612
to
7c55e0c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
// Decrypt decrypts a single TLS RecordLayer | ||
func (c *TLSAecdhAes128Sha256) Decrypt(raw []byte) ([]byte, error) { | ||
cbc := c.cbc.Load() | ||
if cbc == nil { // !c.isInitialized() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stale piece of code. Or is it meant to replace cbc == nil
? Such check is done in Encrypt() as well. Please verify.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
Verifying if github.com/pion/dtls/v2@issue-337-next works with iotivity-lite