• Dan Mihai's avatar
    CT1.7.4.5: Avoid DER key parse error · 150b2de8
    Dan Mihai authored
    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: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
    150b2de8
credresource.c 134 KB