Validity90
Validity90 copied to clipboard
Add openssl error info
Add macro and function to display openssl error info.
Before, during my debug, while private key validation failed, it shows:
Failed 'EC_KEY_check_key(key) - 1': -1 - LIBUSB_ERROR_IO
It may mislead someone who is debugging on the device.
Now it can show the right error information:
Failed 'EC_KEY_check_key(key) - 1': -1 - invalid private key