diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-17 15:26:56 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-02-17 17:26:38 +0100 |
commit | d4a55a39ea022a12e12c51f217a590642277af76 (patch) | |
tree | 6ba8609d35cfd1c710c38a0bec1e429988dc3de7 /lib/x509/x509_int.h | |
parent | 1f6aaca690a569ab9bd0222217ea225007bc0e32 (diff) | |
download | gnutls-d4a55a39ea022a12e12c51f217a590642277af76.tar.gz |
Added gnutls_x509_crt_set_flags()
This functions allows specifying flags to the certificate object.
In particular it allows the single flag GNUTLS_X509_CRT_FLAG_IGNORE_SANITY
which allows to ignore sanity checks at the import of the certificate.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/x509_int.h')
-rw-r--r-- | lib/x509/x509_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/x509/x509_int.h b/lib/x509/x509_int.h index 5f5c180028..09b169afc3 100644 --- a/lib/x509/x509_int.h +++ b/lib/x509/x509_int.h @@ -74,6 +74,7 @@ typedef struct gnutls_x509_crt_int { int use_extensions; unsigned expanded; /* a certificate has been expanded */ unsigned modified; /* the cached values below may no longer be valid */ + unsigned flags; struct pin_info_st pin; |