[gnutls-devel] [PATCH] Fix capitalisation of ia5String
Kurt Roeckx
kurt at roeckx.be
Thu May 29 17:13:56 CEST 2014
On Thu, May 29, 2014 at 05:07:36PM +0200, Nikos Mavrogiannopoulos wrote:
> 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?
I actually have a few thousand of those, but I'm not sure it's a
good idea to take a random one from that to put it in the test
suite.
Kurt
More information about the Gnutls-devel
mailing list