Re: memory leaks

2001-09-04 Thread T Bharath
Sometimes the leaks reported by boundscheker are not really leaks Check if there are leaks reported in the ouput window-debug tab when the app exits - Original Message - From: "White Jack" <[EMAIL PROTECTED]> Date: Tuesday, September 4, 2001 11:21 pm Subject: memory leaks > hi, > I used

Use OpenSSL Crypto. How?

2001-09-04 Thread Jordan C N Chong
Dear all, Please help. I wish to use OpenSSL cryptography for developing an application. However I am not sure how to do that? Is there any reference, example, or perhaps tutorial for using the OpenSSL crypto? Please help. Thanks. Best regards, ---

Simple question

2001-09-04 Thread ET Tan
Hi all, How do I serialize an RSA private key into DER? I tried by using the i2d_RSAPrivateKey(...) but it crashed. My code snippet: --- RSA *rsa = RSA_generate_key(1024, 0x10001, NULL, NULL); unsigned char der[1]; // ought to be eno

doubt regarding X509_verify_cert

2001-09-04 Thread jyothi
Hi all, I have a doubt regarding the x509_verify_cert(). When we have a TRUSTED certificate with the authority-key-identifier extension, and when we are trying to verify a SELF certificate using the function X509_verify_cert(), the verification is failing. Upon a deeper look into the function

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();

How to verify server certificate

2001-09-04 Thread ashada karunaratna
Hi All, OpenSSL mailing list not seemed to we working last couple of days and I decided to send my problem again. If I get signed my server certificate from a Certificate Authority ,how can I write a client who can verify that the server certificate he gets is correct. - i.e certificate is is

RE: Too Long !!!

2001-09-04 Thread Himanshu Soni
Have you tried the genrsa and dsaparam followed by a gendsa command? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 03, 2001 5:55 PM To: [EMAIL PROTECTED] Subject: RE: Too Long !!! so ... have anyone try to create a private key using ope

RE: Too Long !!!

2001-09-04 Thread wong . nyook . yeen
so ... have anyone try to create a private key using openssl command ... pls show me the way ... Regards, Wong Nyook Yeen Email : [EMAIL PROTECTED] Tel no : 03 - 2018228 ext. 1031 __ OpenSSL Project

Re:

2001-09-04 Thread Shaheed Bacchus
thank you very much, you nailed it on the head. Gregory Stark wrote: > >From the BIO_f_cipher() man page: > > BIO_flush() on an encryption BIO that is being written through is used to > signal that no more data is to be encrypted: this is used to flush and > possibly pad the final block through

No Subject

2001-09-04 Thread ÍôÑó
HI, I am a green hand in SSL programming. If I have got a certificate with the postfix of .pem or .cer, how can I get the subject , public key and other related infomation from the file? I mean what kind of functions I should employ? thank you. ___

Re:

2001-09-04 Thread Gregory Stark
>From the BIO_f_cipher() man page: BIO_flush() on an encryption BIO that is being written through is used to signal that no more data is to be encrypted: this is used to flush and possibly pad the final block through the BIO. . ... . NOTES When encrypting BIO_flush() must be called to flush the f

Re:

2001-09-04 Thread Shaheed Bacchus
hello, i am trying to write a piece of code that will take an unsigned char* (called Data) and 3DES encode it and then store it in another unsigned char *. at the bottom of this message are two code snippets, #1 writes the encrypted data to a file BIO while #2 writes it to a mem BIO. #1 appe

SSL without certificate

2001-09-04 Thread Ding Yiqiang
Hi,   Is it possible to build an SSL server without server certificate, so that an encrypted SSL connection can be created without any certificate? Thanks in advance.   Yiqiang

RE: Errors with CRL.

2001-09-04 Thread Ryan Hurst
Title: Errors with CRL. What CA generated the CRL? Are you sure it is in PEM? Does it have the PEM armor (- BEGIN..., END)?   Ryan   -Original Message- From: Eldi Espinosa (InfoSpace Inc) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 04, 2001 1:01 PM To: '[EMAIL

Errors with CRL.

2001-09-04 Thread Eldi Espinosa (InfoSpace Inc)
Title: Errors with CRL. I just installed openssl and I created a RSA cert. I'm trying to use CRL to check issuer info, last update etc as this information is going to be important for audit but when i try to use it it just gives me an error. this is my command line: openssl crl -in test.pem -

Completion notification

2001-09-04 Thread Nebi Musa
I am a C++ Programmer developing a program that combines OpenSSL and I/O Completion Ports using WinSock 2.2.   I would like to know whether the SSL_write() and SSL_read() send completion notification to the I/O Completion Port mechanism.   Further more, I would like to know if I set SSL_se

Re: question on DSA_verify vs EVP_VerifyFinal

2001-09-04 Thread Mark W. Webb
On Saturday 01 September 2001 07:49 am, you wrote: Thanks for getting back to me. What you are saying makes sense, I just do not know why EVP_VerifyFinal passes a signature coming from Java, and DSA_verify fails it? There must be some difference between the two. > "Mark W. Webb" wrote:

Completion Notification

2001-09-04 Thread Nebi Musa
I am a C++ Programmer developing a program that combines OpenSSL and I/O Completion Ports using WinSock 2.2.   I would like to know whether the SSL_write() and SSL_read() send completion notification to the I/O Completion Port mechanism.   Further more, I would like to know if I set SSL_s

RE: Too Long !!!

2001-09-04 Thread Ryan Hurst
My Guess is its just sitting there reading your /dev/urandom (aka sounds like a blocking/non-blocking issue), even on a 386 it should not take more than a minute or so to generate the key. Take a look at the FAQ for information on gathering entropy. Ryan -Original Message- From: [EMAIL P

Re: Too Long !!!

2001-09-04 Thread Lutz Jaenicke
On Mon, Sep 03, 2001 at 01:21:33PM +1000, [EMAIL PROTECTED] wrote: > hi ... has anyone try to generate their Private Key using this command "openssl > genrsa -rand /dev/urandom -out domain.key 1024" ??? Yes. In the past we have seen several similar reports. Solution: do not specify /dev/urandom

Re: non blocking

2001-09-04 Thread Lutz Jaenicke
On Tue, Sep 04, 2001 at 12:09:16PM +0530, Rama krishna Prasad Chunduru wrote: > I am crating one socket with non blocking mode and bounded to the SSL port > with any ipaddress. i am listening on that socket to serve the client > connections. My question is when i am trying to browse the server,

pod2man.pl-related compilation error. Help!

2001-09-04 Thread Chris Scott
I wrote about this a few days ago and have not yet been able to solve it; I'd appreciate anybody's input... See http://marc.theaimsgroup.com/?l=openssl-users&m=99922122232541&w=2 for details. Thanks! __ OpenSSL Project

detecting and removing memory leaks using openssl supported apis...

2001-09-04 Thread Aslam
Hi, Can any one of u guys tell me how to use the memory check support thing of Openssl.. Following code does output the memory leaks, but how to read the output and narrow the cause of memory leak.. Code: void Openssl_Init() { OpenSSL_add_all_algorithms(); CRYPTO_malloc_debug_i

libcrypto.so.2 & libssl.so.2

2001-09-04 Thread Ola Persson
Hi I have a question which I haven't been able to answer myself, I tried to update my current Kde 2.1 to Kde 2.2 and then kdebase-2.2-3 asks for libcrypto.so.2 & libssl.so.2 which I have been able to locate in openssl-0.9.6b-6.i386.rpm. The problem is that I have a newer (I think, becouse when

non blocking

2001-09-04 Thread Rama krishna Prasad Chunduru
Hi all, I am writing one server program which accepts the connections from clients and process the connections. I am using openssl-0.9.6b version. I am crating one socket with non blocking mode and bounded to the SSL port with any ipaddress. i am listening on that socket to serve the client

Too Long !!!

2001-09-04 Thread wong . nyook . yeen
hi ... has anyone try to generate their Private Key using this command "openssl genrsa -rand /dev/urandom -out domain.key 1024" ??? i'm trying this and it already took 5 days ... any comment r welcome Regards, Wong Nyook Yeen Email : [EMAIL PROTECTED] Tel no : 03 - 2018228 ext. 1031 __