diff options
Diffstat (limited to 'lib/x509/x509.c')
-rw-r--r-- | lib/x509/x509.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/x509/x509.c b/lib/x509/x509.c index c713f857a0..71a543e56d 100644 --- a/lib/x509/x509.c +++ b/lib/x509/x509.c @@ -1776,12 +1776,6 @@ _gnutls_parse_general_name2(ASN1_TYPE src, const char *src_name, return ret; } - if (type == GNUTLS_SAN_REGISTERED_ID && tmp.size > 0) { - /* see #805; OIDs contain the null termination byte */ - assert(tmp.data[tmp.size-1] == 0); - tmp.size--; - } - /* _gnutls_x509_read_value() null terminates */ dname->size = tmp.size; dname->data = tmp.data; |