Add openssl error handling in key-manager
There was no distinction between different types of errors returned
by OpenSSL functions. Because of that the information returned to
a developer could be not complete and misleading.
In order to solve this problem, translator of OpenSSL errors to CKM
errors was written. Now, macro OPENSSL_ERROR_HANDLE may be used to
handle OpenSSL errors and provide full error information into log
system.
Change-Id: I63b54f76faaa5b36385bed167db03d97f034402f
12 files changed: