CT1.7.4.5: Avoid DER key parse error
mbedtls_pk_parse_key was not able to parse the key converted to DER
by GetDerKey(). It encountered in the DER an unexpected key format
version.
However, mbedtls_pk_parse_key is able to parse correctly the original
PEM format of the same key.
This patch allows CT1.7.4.5 to establish a connection to an IoTivity
server. This test case still fails later on - to be investigated.
Change-Id: I933ea9d3b761ed159faa2c4f371890e477caf23f
Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
Showing
Please register or sign in to comment