diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-06-01 18:55:37 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-06-02 08:50:16 +0200 |
commit | 6090f99799841bcbe944d5be018a323c4c581b20 (patch) | |
tree | 33136f655dd28fdd6627e250cd6afce9d88fd9e7 /lib/x509/common.h | |
parent | dbb3ae15875c077df7576458d4987db489ad07a4 (diff) | |
download | gnutls-6090f99799841bcbe944d5be018a323c4c581b20.tar.gz |
Initialization of gnutls_x509_dn_t was modified to allow deinitialization after failure
Diffstat (limited to 'lib/x509/common.h')
-rw-r--r-- | lib/x509/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/x509/common.h b/lib/x509/common.h index 3250276f3d..bbb8b12f7a 100644 --- a/lib/x509/common.h +++ b/lib/x509/common.h @@ -74,6 +74,10 @@ #define ASN1_NULL "\x05\x00" #define ASN1_NULL_SIZE 2 +typedef struct gnutls_x509_dn_st { + ASN1_TYPE asn; +} gnutls_x509_dn_st; + int _gnutls_x509_set_time(ASN1_TYPE c2, const char *where, time_t tim, int general); |