3des and plain-encrypted size

2009-04-03 Thread José Hidalgo C .
Hi: I'm using the openssl and EVP_EncryptInit_ex, EVP_EncryptUpdate, EVP_EncryptFinal_ex sequence to encrypt a a short message with 3des-cbc, but i get an strange problem. I expect if the data size is 8 bytes, the encrypted data lenght is 8 bytes too, but i get 16 bytes. If the data size is 16 by

Re: apache http server not connecting to correct open ssl --urgent help needed

2009-04-03 Thread Nikos Balkanas
I see your problem: Do the following with your correct LD_LIBRARY_PATH: echo $LD_LIBRARY_PATH ldd and post results Nikos - Original Message - From: "Srinivas Jonnalagadda" To: ; Cc: Sent: Friday, April 03, 2009 7:09 PM Subject: Re: apache http server not connecting to correct op

Re: apache http server not connecting to correct open ssl --urgent help needed

2009-04-03 Thread Srinivas Jonnalagadda
hi nikos, Thanks fo rthe information. i tried you idea but still when i restart i get the following message. any more information is highly appreciated. My LDPATH has been set to the following: LD_LIBRARY_PATH="/usr/local/openssl098i/lib:/apps/opt/apache2/lib:$LD_LIBRARY_PATH" export LD_LIBRAR

Re: ASN1 printing crash: Security Advisory -- 25-Mar-2009

2009-04-03 Thread Dr. Stephen Henson
On Fri, Apr 03, 2009, Shanku Roy wrote: > Thanks for your response. How do I get a patch for just this issue which I > can use to update? > -- http://cvs.openssl.org/chngview?cn=17907 Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and fre

Re: ASN1 printing crash: Security Advisory -- 25-Mar-2009

2009-04-03 Thread Shanku Roy
Thanks for your response. How do I get a patch for just this issue which I can use to update? -- regards, Shanku Roy --- On Thu, 4/2/09, Dr. Stephen Henson wrote: From: Dr. Stephen Henson Subject: Re: ASN1 printing crash: Security Advisory -- 25-Mar-2009 To: openssl-users@openssl.org Date: Thu

Re: OpenSSL 1.0.0 beta 1 released

2009-04-03 Thread Mark H. Wood
That's a Layer 1/2 issue. Perhaps you mean RFC 3514? -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpD1Wm4j9Cwx.pgp Description: PGP signature

Re: Static Linking against libssl.a

2009-04-03 Thread ABDUL BASIT
is the library libssl.a in path? try passing -L /path/to/libssl.a and passing libssl.a on command line. On Thu, Apr 2, 2009 at 8:35 PM, Cyanure wrote: > > Hi, > > I am using openssl 0.9.8i. I try to build an application that use OpenSSL > but I got the following errors: > undefined reference to

Re: apache http server not connecting to correct open ssl --urgent help needed

2009-04-03 Thread Nikos Balkanas
Hi, I imagine you are using a Solaris 10 machine. You also need to load different versions of the same library. You need to set the correct LD_LIBRARY_PATH. For 2.0.55 include in the LD_LIBARY_PATH your 0.9.8b libraries (libssl, libcrypto). For the 2.0.63 include your 0.9.8i libraries path (/

Re: how can I create a cert like this ?

2009-04-03 Thread Dr. Stephen Henson
On Fri, Apr 03, 2009, Li, Zheng (TSG-GDCC-DL) wrote: > > I want to use openssl to create a cert whose subject like : > > emailaddress=hunte...@foxmail.com, > CN=16.157.247.39, DNQ=s7028, OU=jdcc, O=tv-asahi > You can't. That is an illegal form for th

Static Linking against libssl.a

2009-04-03 Thread Cyanure
Hi, I am using openssl 0.9.8i. I try to build an application that use OpenSSL but I got the following errors: undefined reference to `SSL_write' undefined reference to `SSL_read undefined reference to `SSL_get_error' undefined reference to `SSL_set_fd' ...etc. I am linking statically the libssl.

how can I create a cert like this ?

2009-04-03 Thread Li, Zheng (TSG-GDCC-DL)
I want to use openssl to create a cert whose subject like : emailaddress=hunte...@foxmail.com, CN=16.157.247.39, DNQ=s7028, OU=jdcc, O=tv-asahi So I edited openssl.cnf as blew : ・

help with bad decrypt error?

2009-04-03 Thread Charles
I posted this before but still haven't solved it: I have a function that writes encryption of msg to filename using key and iv. I have another function that reads filename and decrypts msg using key and iv. (Source below) If I run my encrypt function to create the encrypted file, and then try a