Skip to content
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

Merged
merged 6 commits into from
Feb 1, 2021
Merged

Update pion/dtls to master #153

merged 6 commits into from
Feb 1, 2021

Conversation

jkralik
Copy link
Member

@jkralik jkralik commented Jan 28, 2021

Verifying if github.com/pion/dtls/v2@issue-337-next works with iotivity-lite

@jkralik jkralik changed the title preparing for update to the pion/dtls/v2@master wip: preparing for update to the pion/dtls/v2@master Jan 28, 2021
@jkralik jkralik force-pushed the updateToPionDTLSmaster branch from c251074 to d7a6d5f Compare January 28, 2021 07:46
@jkralik jkralik requested review from ondrejtomcik and rafajpet and removed request for ondrejtomcik January 28, 2021 09:34
@jkralik jkralik changed the title wip: preparing for update to the pion/dtls/v2@master Update pion/dtls to master Feb 1, 2021
@jkralik jkralik force-pushed the updateToPionDTLSmaster branch from 4a52612 to 7c55e0c Compare February 1, 2021 07:55
@jkralik jkralik requested a review from der-dano February 1, 2021 08:10
@jkralik jkralik removed the request for review from rafajpet February 1, 2021 08:17
Copy link
Collaborator

@der-dano der-dano left a 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()
Copy link
Collaborator

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed

@jkralik jkralik merged commit 9211894 into master Feb 1, 2021
@jkralik jkralik deleted the updateToPionDTLSmaster branch February 1, 2021 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants