cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: EXTRACT PUBLIC KEY FROM X509 SERVER CERTIFICATE

From: Nick Zitzmann <nick_at_chronosnet.com>
Date: Mon, 22 Oct 2012 10:09:02 -0600

On Oct 21, 2012, at 3:35 AM, TB Singh <tb.singh_at_indiatimes.com> wrote:

> I am using libcurl 7.21.4 in Mac OS-X Mountain Lion using XCode. The program is a C code downloaded from the URL http://curl.haxx.se/libcurl/c/certinfo.html.
> When I build this program, it builds successfully. At runtime, it gives an error:
>
> certinfo(1892,0x7fff7261c960) malloc: *** error for object 0x100131138: incorrect checksum for freed object - object was probably modified after being freed.
> *** set a breakpoint in malloc_error_break to debug

It works fine for me when I link the sample code against OS X's built-in libcurl, which is version 7.24.0. Try that instead.

Nick Zitzmann
<http://www.chronosnet.com/>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-22