Does function typecasts instead of void * type-casts.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18593 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-10-19 11:22:33 +00:00
parent 3cd9ba21de
commit dbc15bde32

View File

@@ -257,7 +257,7 @@ ENGINE_by_dso(const char *path, const char *id)
unsigned long version;
openssl_v_check v_check;
v_check = dlsym(handle, "v_check");
v_check = (openssl_v_check)dlsym(handle, "v_check");
if (v_check == NULL) {
dlclose(handle);
free(engine);
@@ -275,7 +275,7 @@ ENGINE_by_dso(const char *path, const char *id)
{
openssl_bind_engine bind_engine;
bind_engine = dlsym(handle, "bind_engine");
bind_engine = (openssl_bind_engine)dlsym(handle, "bind_engine");
if (bind_engine == NULL) {
dlclose(handle);
free(engine);