failf(data, "no key set to load from crypto engine\n");
return 0;
}
- priv_key = ENGINE_load_private_key(conn->data->engine,key_file,
+ /* the typecast below was added to please mingw32 */
+ priv_key = (EVP_PKEY *)
+ ENGINE_load_private_key(conn->data->engine,key_file,
#ifdef HAVE_ENGINE_LOAD_FOUR_ARGS
- ui_method,
+ ui_method,
#endif
- data->set.key_passwd);
+ data->set.key_passwd);
if(!priv_key) {
failf(data, "failed to load private key from crypto engine\n");
return 0;