Re: Spam: POLICY_MAPPING_free?

2006-12-21 Thread Dr. Stephen Henson
On Thu, Dec 21, 2006, laura wrote: hi where can i find the definition of these functions: POLICY_MAPPING_free,NAME_CONSTRAINTS_free,POLICY_CONSTRAINTS_free etc? i can't find them in openssl0.9.8b. They are defined through the ASN1 macros. All they do is to free up the corresponding

Re: How to setup chain of certs

2006-12-21 Thread Dr. Stephen Henson
On Wed, Dec 20, 2006, Sudhakar wrote: Hi, I am facing a problem with chain of certs. I have used the following commands for creating chain of certs ( servercert2.pem will have its cert signed by servercert.pem which is inturn signed by rootcert.pem): openssl req -newkey rsa:1024 -sha1

Wierd Linking issue with 0.9.8d

2006-12-21 Thread Aaron Smith
So I downloaded a copy of OpenSSL 0.9.8d to my HP-UX system, did a ./config -prefix=/opt/openssl098d shared, make, make test, make install and all worked well. However, I've run into a problem while compiling other pieces of software that use OpenSSL (such as Apache's mod_auth_ldap

Re: Wierd Linking issue with 0.9.8d

2006-12-21 Thread Marek Marcola
Hello, So I downloaded a copy of OpenSSL 0.9.8d to my HP-UX system, did a ./config –prefix=/opt/openssl098d shared, make, make test, make install and all worked well. However, I’ve run into a problem while compiling other pieces of software that use OpenSSL (such as Apache’s

Problem to compile static void *KDF1_SHA1

2006-12-21 Thread shakal
Hi all, I've created a method to generate ECDH Key, based on ecdhtest.c, available at /openssl/test directory. But I'm facing some trouble to compile it. I've inserted the following code in the begining of the file, acording ecdhtest.c, static const int KDF1_SHA1_len = 20; static void

RE: Wierd Linking issue with 0.9.8d

2006-12-21 Thread Aaron Smith
Ah! Excellent! That did indeed correct that annoying error. Thank you. Aaron Smith[EMAIL PROTECTED] System Administrator (269) 337-7496 Kalamazoo College -Original Message- From: [EMAIL PROTECTED]

Reference Counter for SSL

2006-12-21 Thread Dinh, Thao V CIV NSWCDD, K72
Hi I need help. I have one context (ctx). I create many SSL from this context, each will be in separated thread. Do SSL have any counter to keep up with how many SSL at any time ?? What is the name of this function ??? Please help

Re: Problem to compile static void *KDF1_SHA1

2006-12-21 Thread Nils Larsch
[EMAIL PROTECTED] wrote: Hi all, I've created a method to generate ECDH Key, based on ecdhtest.c, available at /openssl/test directory. But I'm facing some trouble to compile it. I've inserted the following code in the begining of the file, acording ecdhtest.c, static const int KDF1_SHA1_len =

SSL_write SSL_read for Blpocking and Non Blocking

2006-12-21 Thread Dinh, Thao V CIV NSWCDD, K72
Hi I am new in this SSL. I need your help about SSL_read and SSL_write. For blocking socket, if SSL_write() ask to write out 1024 bytes, but the network buffer only have space for 512 bytes, will the SSL_write block until all 1024 bytes is written ?? How about Non blocking ?? For blocking

Re: Reference Counter for SSL

2006-12-21 Thread Marek Marcola
Hello, I have one context (ctx). I create many SSL from this context, each will be in separated thread. Do SSL have any counter to keep up with how many SSL at any time ?? What is the name of this function ??? Please help ctx-references Best regards, -- Marek Marcola [EMAIL PROTECTED]

RE: SSL_write SSL_read for Blpocking and Non Blocking

2006-12-21 Thread David Schwartz
I am new in this SSL. I need your help about SSL_read and SSL_write. In this respect, SSL sockets are the same as TCP sockets. For blocking socket, if SSL_write() ask to write out 1024 bytes, but the network buffer only have space for 512 bytes, will the SSL_write block until all 1024

RE: Reference Counter for SSL

2006-12-21 Thread Dinh, Thao V CIV NSWCDD, K72
Hi Marek Marcola I do the following: 1. Create ctx 2. Create ssl= new (ctx,...) 3. printf ( Number of ssl %d, ctx-references) Step 3 show me 2 instead of 1 ( I only have one socket ssl with ctx). Why ?? Please kindly help me. Thank You TD -Original Message- From: [EMAIL PROTECTED]

RE: Reference Counter for SSL

2006-12-21 Thread Marek Marcola
Hello, I do the following: 1. Create ctx 2. Create ssl= new (ctx,...) 3. printf ( Number of ssl %d, ctx-references) Step 3 show me 2 instead of 1 ( I only have one socket ssl with ctx). Why ?? Please kindly help me. Because when SSL_CTX object is created this variable is set initially to

Re: Re: Spam: POLICY_MAPPING_free?

2006-12-21 Thread laura
Thanks! but i can't use them. The error isundefined reference to `POLICY_CONSTRAINTS_free'. i can't find any files including these macros. === 2006-12-21 14:47:00 === On Thu, Dec 21, 2006, laura wrote: hi where can i find the definition of these functions: