Steve fixed up some strange errors introduced into dso_win32.c, and I'm
just converting some spaces to tabs from his fix. :-)
This commit is contained in:
parent
fc57ebc057
commit
8ba92cfe81
@ -141,14 +141,14 @@ static int win32_load(DSO *dso, const char *filename)
|
|||||||
if(p == NULL)
|
if(p == NULL)
|
||||||
{
|
{
|
||||||
DSOerr(DSO_F_WIN32_LOAD,ERR_R_MALLOC_FAILURE);
|
DSOerr(DSO_F_WIN32_LOAD,ERR_R_MALLOC_FAILURE);
|
||||||
FreeLibrary(h);
|
FreeLibrary(h);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
*p = h;
|
*p = h;
|
||||||
if(!sk_push(dso->meth_data, (char *)p))
|
if(!sk_push(dso->meth_data, (char *)p))
|
||||||
{
|
{
|
||||||
DSOerr(DSO_F_WIN32_LOAD,DSO_R_STACK_ERROR);
|
DSOerr(DSO_F_WIN32_LOAD,DSO_R_STACK_ERROR);
|
||||||
FreeLibrary(h);
|
FreeLibrary(h);
|
||||||
OPENSSL_free(p);
|
OPENSSL_free(p);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
@ -171,7 +171,7 @@ static int win32_unload(DSO *dso)
|
|||||||
DSOerr(DSO_F_WIN32_UNLOAD,DSO_R_NULL_HANDLE);
|
DSOerr(DSO_F_WIN32_UNLOAD,DSO_R_NULL_HANDLE);
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
if(!FreeLibrary(*p))
|
if(!FreeLibrary(*p))
|
||||||
{
|
{
|
||||||
DSOerr(DSO_F_WIN32_UNLOAD,DSO_R_UNLOAD_FAILED);
|
DSOerr(DSO_F_WIN32_UNLOAD,DSO_R_UNLOAD_FAILED);
|
||||||
/* We should push the value back onto the stack in
|
/* We should push the value back onto the stack in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user