> >
> > Is there somewhere I can look at the correct code to check the DNS name
> > in a subjectAltName?
> >
>
> Not in the OpenSSL core code but it isn't hard. You just have to loop through
> the GENERAL_NAME STACK and look for a type GEN_DNS and check the dNSName field
> of those.
>
in curl,
On Fri, Mar 11, 2005, Doug Sauder wrote:
>
> Thanks for the reply.
>
> Is there somewhere I can look at the correct code to check the DNS name
> in a subjectAltName?
>
Not in the OpenSSL core code but it isn't hard. You just have to loop through
the GENERAL_NAME STACK and look for a type GEN_D
Thanks for the reply.
Is there somewhere I can look at the correct code to check the DNS name
in a subjectAltName?
--
Doug Sauder
"Dr. Stephen Henson" <[EMAIL PROTECTED]> wrote on 03/11/2005, 01:32:29
PM:
> On Fri, Mar 11, 2005, [EMAIL PROTECTED] wrote:
>
> >
> > Looking at the OpenSSL source
On Fri, Mar 11, 2005, [EMAIL PROTECTED] wrote:
>
> Looking at the OpenSSL source code, I believe that the caller must free
> the struct that X509_get_ext_d2i returns. What function should I call
> to free the returned struct?
>
> My code looks like this:
>
> X509_EXTENSION* ext = 0;
>