Code formatting fixes and clean-up authentication plugin (#439)

* Fix code formatting, fix for memory leak in validate_handshake_reply_token and
make error handling and return values more consistent with the other two
plugins.

Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>

* Processed review comments: fixed memory leaks and more consistent error handling and function returns

Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>

* Fix trusted ca dir max exceeded

Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
This commit is contained in:
Dennis Potman 2020-03-18 10:01:20 +01:00 committed by GitHub
parent 0354b42cdc
commit 3ea2cea318
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 2914 additions and 4410 deletions

View file

@ -793,6 +793,8 @@ dds_security_api_err.h header file contains the code and message constants.
+-------+----------------------------------------------------------------+
| 151 | The payload is not aligned at 4 bytes |
+-------+----------------------------------------------------------------+
| 152 | Cannot open trusted CA directory: maximum number exceeded |
+-------+----------------------------------------------------------------+
| 200 | Undefined Error Message |
+-------+----------------------------------------------------------------+