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:
parent
0354b42cdc
commit
3ea2cea318
6 changed files with 2914 additions and 4410 deletions
|
|
@ -106,6 +106,8 @@ extern "C" {
|
|||
#define DDS_SECURITY_ERR_URI_TYPE_NOT_SUPPORTED_MESSAGE "Unsupported URI type: %s"
|
||||
#define DDS_SECURITY_ERR_INVALID_CRYPTO_DATA_NOT_ALIGNED_CODE 151
|
||||
#define DDS_SECURITY_ERR_INVALID_CRYPTO_DATA_NOT_ALIGNED_MESSAGE "The payload is not aligned at 4 bytes"
|
||||
#define DDS_SECURITY_ERR_TRUSTED_CA_DIR_MAX_EXCEEDED_CODE 152
|
||||
#define DDS_SECURITY_ERR_TRUSTED_CA_DIR_MAX_EXCEEDED_MESSAGE "Cannot open trusted CA directory: maximum number of CA directories (%d) exceeded"
|
||||
|
||||
#define DDS_SECURITY_ERR_UNDEFINED_CODE 200
|
||||
#define DDS_SECURITY_ERR_UNDEFINED_MESSAGE "Undefined Error Message"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue