[Help-gnutls] Checking hostname against certificate

Andrew McDonald andrew at mcdonald.org.uk
Wed Feb 6 23:13:21 CET 2002


On Wed, Feb 06, 2002 at 04:07:48PM +0200, Nikos Mavroyanopoulos wrote:
> On Mon, 28 Jan 2002 19:29:36 +0000 Andrew McDonald
> <andrew at mcdonald.org.uk> wrote:
> 
> > > This function was never tested.. Please, send me the certificate
> > > that contains the dnsname, email extensions, so I can give it a
> > > test (and a fix).
> > > > 2.5.29.17 is the OID for an AltName extension. How does
> > > > _gnutls_get_extension know you want the dNSName?
> > > it does not :)
> > Ah. Good. I was a bit worried that I couldn't see how it could possibly
> > do what it was supposed to. :-)
> I've just commited a corrected function. The prototype is now:
[snip]
> 
> I know this is more complex... but subjectAltName extension is also a
> complex one :)

Yes. It looks more sensible than the previous one did for this. Thanks.

I'm currently having trouble building from CVS:
../src/asn1c gnutls.asn gnutls_asn1_tab.c
make[2]: ../src/asn1c: Command not found
make[2]: [gnutls_asn1_tab.c] Error 127 (ignored)

Is there a bootstrapping problem here? - It looks like asn1c needs
libgnutls.la and libgnutls.la needs asn1c. Copying an asn1c from a
previous build gave me a parse error on gnutls.asn.


Andrew
-- 
Andrew McDonald
E-mail: andrew at mcdonald.org.uk
http://www.mcdonald.org.uk/andrew/




More information about the Gnutls-help mailing list