Re: Trouble extracting DNS field from certificate

2004-05-12 Thread Peter Sylvester
> > > > > > > > I have some code to extract a DNS field from subjectAltName extensions > > > > in X509v3 certificates in the function below. It is based on example 5-8 > > > > in the book "Network Security with OpenSSL" by Viega, Messier and > > Chandra. An extract from curl Copyright (c) 1996 -

Trouble extracting DNS field from certificate

2004-05-11 Thread Byrial Jensen
Hi, I have some code to extract a DNS field from subjectAltName extensions in X509v3 certificates in the function below. It is based on example 5-8 in the book "Network Security with OpenSSL" by Viega, Messier and Chandra. It seems to work fine when I use OpenSSL 0.9.6, but it fails on a Linux bo