RE: Extra character from X509_get_subject_name

2009-02-20 Thread David Schwartz
> Hi, > > > Do you know why an extra charater "/" is attached in front of the > subject name? > > X509_NAME_oneline(X509_get_subject_name(cert), data, 256); > > fprintf(stderr, " Subject = %s\n", data); > > The output is like "/CN=XXX.hp.

Extra character from X509_get_subject_name

2009-02-20 Thread Carol Wu
Hi, Do you know why an extra charater "/" is attached in front of the subject name? X509_NAME_oneline(X509_get_subject_name(cert), data, 256); fprintf(stderr, " Subject = %s\n", data); The output is like &quo

Re: Charset used by X509_get_subject_name function.

2007-05-10 Thread j.fabre
Hi Stephen, thank you for your help, I solved this using ASN1_STRING_to_UTF8 Openssl function, as you told me :-D Regards. Dr. Stephen Henson escribió: On Thu, May 10, 2007, Jess el tuty wrote: Hi all, I used X509_get_subject_name() function to parse a binary X509v3 certificate, my

Re: Charset used by X509_get_subject_name function.

2007-05-10 Thread Dr. Stephen Henson
On Thu, May 10, 2007, Jess el tuty wrote: > > Hi all, > > I used X509_get_subject_name() function to parse a binary X509v3 > certificate, my problem is that I don´t know whats the format of the byte > array that this function returns. It isn't a byte array. It is

Charset used by X509_get_subject_name function.

2007-05-10 Thread Jesús el tuty
Hi all, I used X509_get_subject_name() function to parse a binary X509v3 certificate, my problem is that I don´t know whats the format of the byte array that this function returns. The common name of my certificate has the char "Ü", and the functions returns the hexadecimal codi

Re: X509_get_subject_name

2004-05-13 Thread Joseph Bruni
Perhaps if you could use gdb to display a stack trace, it would be easier to locate the error. -Original Message- From: Jeff Fulmer <[EMAIL PROTECTED]> Sent: May 13, 2004 8:24 AM To: [EMAIL PROTECTED] Subject: Re: X509_get_subject_name It didn't. It still core dumps on Red

RE: X509_get_subject_name

2004-05-11 Thread Bommareddy, Satish (Satish)
I think the X509_NAME_oneline takes a buffer and length for arguments 2 and 3. try buf[256]; str = X509_NAME_oneline(X509_get_subject_name(C->cert), buf, 256); see if that helps -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jeff Fulmer S

X509_get_subject_name

2004-05-11 Thread Jeff Fulmer
Hello, I'm the author of siege. That program is dumping core on Red Hat systems in the following function: X509_get_subject_name Here's the function which calls it: BOOLEAN SSL_initialize(CONN *C) { #ifdef HAVE_SSL int serr; char *str; C->ssl= NULL; C->ct