tls_openssl: check if key_id is NULL in tls_engine_init

Add a check for NULL and return if the key_id passed to tsl_engine_init()
is NULL.

Change-Id: I7e4b3b4ce1115ec5c2f99fd60ab03dd587768b1b
CRs-Fixed: 915372
1 file changed