error : bad asn1 object header

1999-08-10 Thread gang cao
i write a https server , wait connection from browser. when i use IE connect to server, the server first read the data from browser ,have error strings : error:0005::lib(0) :func(0) :bad asn1 object header Netscape is OK. when server SSL_accept with browser, if browser don't trust the

about unsigned char **pp

1999-05-19 Thread gang cao
in crypto/asn1 , many "unsigned char **pp", like in crypto/asn1/asn1_lib.c ,define void ASN1_put_object(unsigned char **pp, int constructed, int length, int tag,int xclass) why not just "unsigned char *pp" ? __ OpenSSL Project

PRIMATIVE or PRIMITIVE?

1999-05-18 Thread gang cao
in asn1 lib , is PRIMATIVE should be PRIMITIVE? __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager

x509 read from a buf

1999-05-12 Thread gang cao
hi all, in x509.c , load_cert(char * file , int format) read certificate from a file . i need read a certificate from a buf ( unsigned char * ), a function like static X509 *load_cert(unsigned char *data , int len , int format ) len is the length of data. so i change the following : if

Re: x509 read from a buf

1999-05-12 Thread gang cao
d2i_X509 can read certificate from a X509 structure(PEM) to a char * buffer (DER) and i need read certificate from a char * buffer (PEM) to a X509 structure (PEM) [EMAIL PROTECTED] wrote: gang cao wrote: hi all, in x509.c , load_cert(char * file , int format) read certificate from

can read from buf!

1999-05-12 Thread gang cao
now i can read certificate from buf . thanks all. __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager

EE certificate can be CA certificate!

1999-04-11 Thread gang cao
in openssl.0.9.2b,i make a test like after: 1.CA.sh -newca # make a new CA and ca cerrificate. #now in ../lib/openssl.cnf, # section[v3_ca] ,basicConstraints = CA:true 2.openssl req -new -nodes -out 01.csr -keyout 01.key 3.openssl ca -in 01.csr -out 01.pem #now in