cURL / Mailing Lists / curl-users / Single Mail


curl and openssl-0.9.7-beta1

From: Mike Castle <>
Date: Tue, 4 Jun 2002 02:24:06 -0700


It appears that openssl-0.9.7 will have the engine stuff by default.

However, at least some of the API has changed, so compilation fails:

i386-linux-gcc -DHAVE_CONFIG_H -I../../curl-7.9.7/include -I../lib -I../../curl-7.9.7/lib -g -O2 -c ../../curl-7.9.7/lib/ssluse.c -Wp,-MD,.deps/ssluse.TPlo -fPIC -DPIC -o .libs/ssluse.lo
../../curl-7.9.7/lib/ssluse.c: In function `cert_stuff':
../../curl-7.9.7/lib/ssluse.c:291: warning: passing arg 3 of `ENGINE_load_private_key' from incompatible pointer type
../../curl-7.9.7/lib/ssluse.c:291: too few arguments to function `ENGINE_load_private_key'

The new API, for instance:

/* API functions to load public/private keys */
EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
        UI_METHOD *ui_method, void *callback_data)


     Mike Castle
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas --
Received on 2002-06-04