Use of CRL in certificate verification

2011-06-19 Thread Sushil Singh
Hi

I am using OpenSSL and  writing a TLS client opening a TLS Socket. How i can
ensure that this TLS Socket also is checking the CRL for the peer
certificate. Pls let me know the API for the same and also how the path of
CRL can be indicated to the TLS socket.

Thanks in advance.

Sushil


Can't load openssl-1.0.0d when building php-5.3.6 on CentOS x64

2011-06-19 Thread Mike Peters
I get the following error:

/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64cpuid.o): relocation 
R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a 
shared object; recompile with -fPIC

I built openssl by:

./config no-shared -fPIC


Any tutorial on adding new cryptoalgorithm ?

2011-06-19 Thread Ilya Dyoshin
Good day! 

is there any tutorial on adding a new cryptoalgorithms to openssl wrapper. 
I.e.: I have a set of cryptographic  functions released in c (for crypting, 
decrypting etc.), and want to wrap it to openssl, in order to use it as an 
algorithm in apache's httpd server, using standart mod_ssl. 


Kind regards, 
Mit freundlichen Grüßen
Ilya Dyoshin
i...@uniqa.kiev.ua


__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


RE: Can't load openssl-1.0.0d when building php-5.3.6 on CentOS x64

2011-06-19 Thread Mike Peters
Fixed it by building a shared library and making sure the proper links were in 
/usr/local/ssl/lib.

From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Mike Peters
Sent: Sunday, June 19, 2011 11:10 AM
To: openssl-users@openssl.org
Subject: Can't load openssl-1.0.0d when building php-5.3.6 on CentOS x64

I get the following error:

/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64cpuid.o): relocation 
R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a 
shared object; recompile with -fPIC

I built openssl by:

./config no-shared -fPIC