summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_dlfcn.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dso/dso_dlfcn.c')
-rw-r--r--crypto/dso/dso_dlfcn.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c
index cad1aedd4e..7638724f78 100644
--- a/crypto/dso/dso_dlfcn.c
+++ b/crypto/dso/dso_dlfcn.c
@@ -152,10 +152,7 @@ static int dlfcn_unload(DSO *dso)
return(0);
}
if(sk_num(dso->meth_data) < 1)
- {
- DSOerr(DSO_F_DLFCN_UNLOAD,DSO_R_STACK_ERROR);
- return(0);
- }
+ return(1);
ptr = (void *)sk_pop(dso->meth_data);
if(ptr == NULL)
{