summaryrefslogtreecommitdiff
path: root/lib/libcrypto/dso
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-04-23 21:55:27 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-04-23 21:55:27 +0000
commit0488083f77bb0ec3e8fd3ffed0d07207293a4308 (patch)
tree7fe5151c7830e01b22415a6fb85510edb95af8d7 /lib/libcrypto/dso
parent3be95bf40b66290ae614232703b647e563e5bf9a (diff)
fix some variables
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);