[gnutls-devel] [PATCH] Fix capitalisation of ia5String

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu May 29 17:07:36 CEST 2014


On Thu, May 29, 2014 at 10:25 AM, Kurt Roeckx <kurt at roeckx.be> wrote:

> ---
>  lib/x509/x509_ext.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/x509/x509_ext.c b/lib/x509/x509_ext.c
> index ea6a496..6d7421e 100644
> --- a/lib/x509/x509_ext.c
> +++ b/lib/x509/x509_ext.c
> @@ -1593,7 +1593,7 @@ static int decode_user_notice(const void *data,
> size_t size,
>         }
>         if (strcmp(choice_type, "utf8String") != 0
> -           && strcmp(choice_type, "IA5String") != 0
> +           && strcmp(choice_type, "ia5String") != 0
>             && strcmp(choice_type, "bmpString") != 0
>             && strcmp(choice_type, "visibleString") != 0) {
>                 gnutls_assert();
>

Thank you, applied.

Do you happen to have a certificate that triggers the error, so that I can
add it in the test suite?

regards,
Nikos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140529/f4d5e0b7/attachment.html>


More information about the Gnutls-devel mailing list