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
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
in asn1 lib , is PRIMATIVE should be PRIMITIVE?
__
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager
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
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
now i can read certificate from buf .
thanks all.
__
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager
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