-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rework SSL code - Add missing calls to platform free memory and mbedTLS API calls to free TLS vars memory on TLS context init failure and exit. - The above fixed a memory leak with TLS context. Related with nanoframework/Home#509. - Rework ssl close socket to account for bad or non existing TLS context and not nulling required TLS context vars required to properly close context and free memory. - Several renames in SSL_Context struct for clarity. - Rename ssl close socket (was missing an _). - Rework several declarations to match our coding style guidelines. - Replace booleans at several code locations. - Replace SSL private functions with ones from C standard libs. - Clean up code and includes in several files. - Remove ssl types source file (wasn't being used). - Remove calls to (not used anymore) time callbacks. Signed-off-by: José Simões <jose.simoes@eclo.solutions> * Update ssl_close_socket_internal.cpp Return 0 ( no error )
- Loading branch information
1 parent
37e1d2a
commit 9fd78b8
Showing
24 changed files
with
558 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.