summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dso/dso_win32.c')
-rw-r--r--crypto/dso/dso_win32.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c
index edf5d75b0f..2b1ab2177d 100644
--- a/crypto/dso/dso_win32.c
+++ b/crypto/dso/dso_win32.c
@@ -159,10 +159,7 @@ static int win32_unload(DSO *dso)
return(0);
}
if(sk_num(dso->meth_data) < 1)
- {
- DSOerr(DSO_F_WIN32_UNLOAD,DSO_R_STACK_ERROR);
- return(0);
- }
+ return(1);
p = (HINSTANCE *)sk_pop(dso->meth_data);
if(p == NULL)
{