summaryrefslogtreecommitdiff
path: root/lib/x509/common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-11 17:35:12 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-11 17:35:15 +0100
commit5aca686995c23a75c29613fc5abf803279969a1f (patch)
tree69ef2ef5ccbd2ea56ee1c6ae1b0b59234313dcde /lib/x509/common.c
parent1c5e9ed19b4fd035994739e83336f9bb483e9e22 (diff)
downloadgnutls-new-code-null.tar.gz
Introduced GNUTLS_E_ASN1_EMBEDDED_NULL_IN_STRINGnew-code-null
This error code is returned when an embedded NULL is detected in a string.
Diffstat (limited to 'lib/x509/common.c')
-rw-r--r--lib/x509/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/common.c b/lib/x509/common.c
index c6ef979d4a..cbee0d30f8 100644
--- a/lib/x509/common.c
+++ b/lib/x509/common.c
@@ -1067,7 +1067,7 @@ _gnutls_x509_decode_string(unsigned int etype,
if (len != (size_t) output->size) {
_gnutls_free_datum(output);
- ret = gnutls_assert_val(GNUTLS_E_ASN1_DER_ERROR);
+ ret = gnutls_assert_val(GNUTLS_E_ASN1_EMBEDDED_NULL_IN_STRING);
}
}