SYNOPSIS |
#include <dk.h>
const char * dk_geterror(
DK *dkim
);
Retrieve the last stored error message associated with a DK handle.
|
DESCRIPTION |
Called When |
dk_geterror() can be called at any time after a handle
is initialized with a call to
dk_sign() or
dk_verify(). |
|
---|
ARGUMENTS |
Argument | Description |
dkim |
Message-specific handle, returned by
dk_sign or
dk_verify.
|
|
RETURN VALUES |
Value | Description |
NULL |
No error message has been stored for this handle.
|
otherwise |
A pointer to the last stored error string.
|
|
NOTES |
- This function is a local addition to the formal API specification
and is experimental only. It may not appear in other implementations.
|