4b7ad8ee43
Calling strerror() with a negative value is an error. Besides fixing that, we streamline hx509_get_error_string(), making it much simpler and easier to read.