Commit ae2f002b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added typecast in an attempt to fix a mingw32 warning

parent 89c31269
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -333,7 +333,9 @@ int cert_stuff(struct connectdata *conn,
            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,
#endif