cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: subjectAltName does not match - Wrong test?!

From: Sven Anders <anders_at_anduras.de>
Date: Tue, 15 Sep 2009 17:39:17 +0200

Daniel Stenberg schrieb:
> On Tue, 15 Sep 2009, Sven Anders wrote:
>> Yes and No. An DNS or IP entry should match, but I can have other
>> entries (like email, RID, URI, otherName,...) too. These should not
>> considered when trying to match.
>
> Ah, it wasn't clear to be from that output that the particular field
> was not a DNS field.
>
> How about the attached patch, does it make your certficiate work fine
> again?
>
Yes, it works.

You missed one line (1129):

    matched = TRUE;

this should be:

    matched = 1;

New patch is attached.

Regards
 Sven

-- 
 Sven Anders <anders_at_anduras.de>                 () Ascii Ribbon Campaign
                                                 /\ Support plain text e-mail
 ANDURAS service solutions AG
 Innstraße 71 - 94036 Passau - Germany
 Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55
Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Mark Peters


Received on 2009-09-15