RE: Custom free routine is invoked with NULL argument in openssl 1.0.1

2012-05-26 Thread Jeremy Farrell
> From: Jakob Bohm [mailto:jb-open...@wisemo.com] > On 5/25/2012 5:30 PM, Ken Goldman wrote: > > On 5/25/2012 3:33 AM, Jakob Bohm wrote: > > > >> ANSI C and POSIX free() is NOT required to handle free(NULL) > >> as a NOP. > > > > I checked reputable sources (Plauger, Harbison and Steele, the ANSI >

Re: help

2012-05-26 Thread Abhiroop Dabral
Openssl comes with a command line interface also. Type openssl on terminal and you will see it. This talks about using the openssl commands in a batch file .. Hope this helps! On Sat, May 26, 2012 at 5:52 AM, Feras Elias wrote: > hello > > i need help with this question > > Write a command li

simply openssl encode c function

2012-05-26 Thread ml
hello honorable doctor all members ".." C Fu geeks and lady I try to use the functions correctly made ​​in native base64 openssl i managed a simple client mail with openssl base64 encoding I use the test client https://github.com/fakessh/openprojectssl/blob/master/smtp_openssl.c I try to realiz

RE: converting pem to der

2012-05-26 Thread rockintein
Dave, Now I understand, why it doesn't work. Still, I'm a "normal" user, so writing my own program is a not an option for me :). I'll tell the company that they have to change their program to allow using other formats (other than binary der). Rockintein Dave Thompson-5 wrote: > >> From: owne

help

2012-05-26 Thread Feras Elias
hello i need help with this question Write a command line in a batch file called "Verify_Message.bat" to verify the signature stored in the file "message.sig" using the public key of the client "C1" (his/her certificate). Use the command "smime" for this purpose. Run the commands and

Re: Questions about method to compress ECDSA signatures

2012-05-26 Thread Khuc, Chuong D.
Thanks for reply. Correct me if I am wrong, the R point, which is the "ephemeral" or temporary point on the elliptic curve, is calculated in the ECDSA_sign_setup function. Is that right? If it is, then its value is also lost in that function because the memory containing is freed at the end of the

Re: Custom free routine is invoked with NULL argument in openssl 1.0.1

2012-05-26 Thread Jim Segrave
On 05/26/2012 12:28 PM, Jakob Bohm wrote: > On 5/25/2012 5:30 PM, Ken Goldman wrote: >> On 5/25/2012 3:33 AM, Jakob Bohm wrote: >> >>> ANSI C and POSIX free() is NOT required to handle free(NULL) >>> as a NOP. >> >> I checked reputable sources (Plauger, Harbison and Steele, the ANSI >> spec, and th

Re: Custom free routine is invoked with NULL argument in openssl 1.0.1

2012-05-26 Thread Richard Levitte
In message on Fri, 25 May 2012 11:39:05 -0400, Jeffrey Walton said: noloader> Perhaps I'm looking at the wrong free function (or I'm not noloader> reading/deducing correct behavior), but it looks like a double free to noloader> me: noloader> noloader> void CRYPTO_free(void *str) noloader> { no

Re: Custom free routine is invoked with NULL argument in openssl 1.0.1

2012-05-26 Thread Jakob Bohm
On 5/25/2012 5:30 PM, Ken Goldman wrote: On 5/25/2012 3:33 AM, Jakob Bohm wrote: ANSI C and POSIX free() is NOT required to handle free(NULL) as a NOP. I checked reputable sources (Plauger, Harbison and Steele, the ANSI spec, and the IEEE POSIX spec). All agree that (e.g. ANSI) "If ptr is