hx509: Add hx509_enomem()
This commit is contained in:
@@ -119,6 +119,20 @@ hx509_set_error_string(hx509_context context, int flags, int code,
|
|||||||
va_end(ap);
|
va_end(ap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets ENOMEM as the error on a hx509 context.
|
||||||
|
*
|
||||||
|
* @param context A hx509 context.
|
||||||
|
*
|
||||||
|
* @ingroup hx509_error
|
||||||
|
*/
|
||||||
|
|
||||||
|
HX509_LIB_FUNCTION int HX509_LIB_CALL
|
||||||
|
hx509_enomem(hx509_context context)
|
||||||
|
{
|
||||||
|
return heim_enomem(context->hcontext);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get an error string from context associated with error_code.
|
* Get an error string from context associated with error_code.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user