memory leaks

2001-09-05 Thread White Jack
I used openssl0.9.6 to test,and I found it leaked almost 400 bytes every connection. But now I used the same client program, used openssl0.9.6b,I am puzzled it's memory leaks exceed 400bytes too much. Why? _ Äú¿ÉÒÔÔÚ MSN Hotmail Õ¾

memory leaks

2001-09-04 Thread White Jack
hi, I used following codes to exit ssl, SSL_shutdown (gssl); /* send SSL/TLS close_notify */ SSL_CTX_free(gssl->ctx); SSL_free (gssl); gssl=NULL; ERR_remove_state(0); ERR_free_strings();

Why server close the connection actively?

2001-08-08 Thread White Jack
Hi, My openssl client ran on the machine with low speed CPU. And when it conncted to a Netscape server needing client authentication, it loaded it's certificate,and sended CertificateVerify,but it is so slow that it spent more than forty seconds.Yet the server sended it a TCP FIN package.

a question about encrypt and decrypt using EVP interface

2001-07-19 Thread White Jack
hi, I used EVP interface to encrypt and decrypt,but after I encrypted ,I couldn't decrypt it . Why? Any help is appreciated! void do_cipher(char *pw, int operation,char * InBuf,int InLen,char * OutBuf,int *OutBuflen) { //operation:0:DECRYPT // 1: