(hx509_get_error_string): if the error code is not the one we expect,
punt and use the default com_err/strerror string instead. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20912 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -101,9 +101,9 @@ char *
|
||||
hx509_get_error_string(hx509_context context, int error_code)
|
||||
{
|
||||
struct rk_strpool *p = NULL;
|
||||
hx509_error msg;
|
||||
hx509_error msg = context->error;
|
||||
|
||||
if (context->error == NULL) {
|
||||
if (msg == NULL || msg->code != error_code) {
|
||||
const char *cstr;
|
||||
char *str;
|
||||
|
||||
|
Reference in New Issue
Block a user