I built the new OpenSSL (1.0.0) and tried to run the blowfish
encryption example from the OpenSSL docs
(http://openssl.org/docs/crypto/EVP_EncryptInit.html#EXAMPLES) but
this time I used the same library to compile the application, because
this build only made this one. I made one debug and one release build
with VS2008, and they both generated different cyphertexts with the
same key and input data. I also used the same .DLL, becase there is
only one, and as I read from the FAQ, that should be okay. What am I
doing wrong?

On Tue, Apr 14, 2009 at 2:49 PM, Atti <att...@gmail.com> wrote:
>
> Sorry, I made a mistake when I wrote the first text, I'm using 
> libeay32MDd.lib - /MDd for debug and libeay32MD.lib - /MD for release. I only 
> made the mistake writing this, I'm linking against the correct .libs in my 
> project.
>
> On Tue, Apr 14, 2009 at 2:03 PM, Atti <att...@gmail.com> wrote:
>>
>> Hy, I'm using an older version of OpenSSL (the new one has errors in 
>> X509.h), on a Win32 machine, installed as binaries. I'm using the 
>> EVP_Encrypt/Decrypt functions and a generated key to encrypt my data, and 
>> everything works fine in debug mode. When I try to run the release mode, it 
>> still runs fine, but the decryption returns scrambled data. I've read the 
>> FAQ, and I am using the libraries as mentioned there (libeay32MTd.lib - /MDd 
>> for debug and libeay32MT.lib - /MD for release). I didn't quite understood 
>> the last part of the specific FAQ answer, about the .DLL usage. I use the 
>> LIBEAY32.DLL, the only one I have.
>>
>> Thank You.
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to