summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dso
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/dso')
-rw-r--r--lib/libcrypto/dso/dso_dlfcn.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/dso/dso_dlfcn.c b/lib/libcrypto/dso/dso_dlfcn.c
index 9731df136d1..ea4e4935aac 100644
--- a/lib/libcrypto/dso/dso_dlfcn.c
+++ b/lib/libcrypto/dso/dso_dlfcn.c
@@ -245,7 +245,6 @@ static char *
dlfcn_merger(DSO *dso, const char *filespec1, const char *filespec2)
{
char *merged;
- size_t len;
if (!filespec1 && !filespec2) {
DSOerr(DSO_F_DLFCN_MERGER,
@@ -275,7 +274,7 @@ dlfcn_merger(DSO *dso, const char *filespec1, const char *filespec2)
the concatenation of filespec2 followed by a slash followed
by filespec1. */
{
- int spec2len, len;
+ size_t spec2len, len;
spec2len = strlen(filespec2);
len = spec2len + (filespec1 ? strlen(filespec1) : 0);