Files
basyskom-jvoe 4492548ee3 fix(plugin): Improve PEM support for mbedTLS and add tests (#3856)
* Add null terminator before parsing certificates and keys

mbedTLS expects PEM data to be null terminated, the length
parameter must include the null terminator.

By adding the null terminator inside open62541, an application
doesn't have to care what type of certificate or key is used.

* Extend encryption tests

- Add test for security policy Basic256
- Add test with PEM encoded certificate and key

* Fix amalgamation build for ua_pki_default.c

Including securitypolicy_mbedtls_common.h is not possible because
it is added to the amalgamation after ua_pki_default.c
2020-08-27 17:23:47 +02:00
..