Re: How to setup chain of certs

2006-12-22 Thread Sudhakar
Thanks Dr. Steve. -Sudhakar On 12/21/06, Dr. Stephen Henson [EMAIL PROTECTED] wrote: 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

BIO abstraction

2006-12-22 Thread Dinh, Thao V CIV NSWCDD, K72
Hi I look at couple example about using abstraction layer BIO over socket and attach the SSL object to the BIO. When time to delete, they delete SSL and socket only without delete BIO. I wonder why ?? ssl = SSL_new(ctx); Sbio = BIO_new_sock(sock, BIO_NO_CLOSE): SSL_set_bio(ssl, sbio,sbio);

Problems - windows application openssl

2006-12-22 Thread hamazaki
Hi, I´m trying to develop a windows application to sign and to verify a signature. At first, I´m trying to read the properties of a certificate using the commands bellow if ((fp=fopen(SuperAssinatura.cer,rb)) != NULL) { x509Cert=X509_new(); if

Re: Problem to compile static void *KDF1_SHA1

2006-12-22 Thread shakal
yeah, I've tried before and It hasn't worked. And now, I did it again using g++ command instead gcc and it worked. Thank you! Shakal [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

RE: Reference Counter for SSL

2006-12-22 Thread David Schwartz
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. Your question is baffling to me. How could it possibly be

Re: Re: Spam: POLICY_MAPPING_free?

2006-12-22 Thread Dr. Stephen Henson
On Fri, Dec 22, 2006, laura wrote: Thanks! but i can't use them. The error isundefined reference to `POLICY_CONSTRAINTS_free'. i can't find any files including these macros. They are real functions but their definitions and implementation is through the ASN1 macros. If you get undefined

Re: BIO abstraction

2006-12-22 Thread Marek Marcola
Hello, I look at couple example about using abstraction layer BIO over socket and attach the SSL object to the BIO. When time to delete, they delete SSL and socket only without delete BIO. I wonder why ?? ssl = SSL_new(ctx); Sbio = BIO_new_sock(sock, BIO_NO_CLOSE): SSL_set_bio(ssl,