summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/dso/dso_dl.c')
-rw-r--r--crypto/dso/dso_dl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/dso/dso_dl.c b/crypto/dso/dso_dl.c
index a4152e7723..bb808ad6fb 100644
--- a/crypto/dso/dso_dl.c
+++ b/crypto/dso/dso_dl.c
@@ -147,10 +147,7 @@ static int dl_unload(DSO *dso)
return(0);
}
if(sk_num(dso->meth_data) < 1)
- {
- DSOerr(DSO_F_DL_UNLOAD,DSO_R_STACK_ERROR);
- return(0);
- }
+ return(1);
/* Is this statement legal? */
ptr = (shl_t)sk_pop(dso->meth_data);
if(ptr == NULL)