2.255.8062
What I am looking for is a blessing not in disguise.
Jerome K. Jerome
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marek Marcola
Sent: Monday, March 20, 2006 4:28 PM
To: openssl-users@openssl.org
Subject: Re: Crypto Library question
H
On Mon, Mar 20, 2006, Friedline, Harold wrote:
> I am attempting to write code to utilize the crypto(3) library that
> comes with openssl. Specifically, I am using these functions
> OpenSSL_add_all_digests();
> md = EVP_get_digestbyname(dgst);
> EVP_DigestInit_ex(&mdctx, md, NUL
I tried your code and I had a suspicion that using the
*_ex() functions along with *() functions can cause
trouble. Which is what has happened in your case.
Here is the correct code for your reference. You are
supposed to stick to either Init_ex() , Final_ex()
functions or Init() ,Final() functio
Hello
> The code compiles and links. Using it, however, produces different
> results than using
> echo "some string" | openssl dgst -md5
Echo command adds "new line" characters.
Try someting like "echo -n" on linux or "\c" on hpux
to disable this.
Best regards,
--
Marek Marcola <[EMAIL
Title: Crypto Library question
I am attempting to write code to utilize the crypto(3) library that comes with openssl. Specifically, I am using these functions
OpenSSL_add_all_digests();
md = EVP_get_digestbyname(dgst);
EVP_DigestInit_ex(&mdctx, md, NULL);
EVP_DigestInit(&m