dane_verification_status_print3
Api function
Usage
#include <gnutls/dane.h>
int dane_verification_status_print(unsigned int status, gnutls_datum_t * out, unsigned int flags);
Arguments
unsigned int status
|
The status flags to be printed |
|---|---|
gnutls_datum_t * out
|
Newly allocated datum with (0) terminated string. |
unsigned int flags
|
should be zero |
Overview
This function will pretty print the status of a verification process -- eg. the one obtained by dane_verify_crt().
The output out needs to be deallocated using gnutls_free().
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.