diff options
author | 2005-03-30 13:08:02 +0000 | |
---|---|---|
committer | 2005-03-30 13:08:02 +0000 | |
commit | b392fab02d0820e8b0387af16d12494b6b14b8f2 (patch) | |
tree | cdb4795ac67dc017ca0cb5a8e28e04993a33d597 /lib/libssl/src | |
parent | bgpd used to open listeners in advance in the parent and the SE picked (diff) | |
download | wireguard-openbsd-b392fab02d0820e8b0387af16d12494b6b14b8f2.tar.xz wireguard-openbsd-b392fab02d0820e8b0387af16d12494b6b14b8f2.zip |
enable openssl DSO (typo, it's -DDSO_DLFCN not -DSO_DLFCN); Douglas Santos
Diffstat (limited to 'lib/libssl/src')
-rw-r--r-- | lib/libssl/src/crypto/dso/dso_dlfcn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/dso/dso_dlfcn.c b/lib/libssl/src/crypto/dso/dso_dlfcn.c index 9d49ebc2537..2e729694314 100644 --- a/lib/libssl/src/crypto/dso/dso_dlfcn.c +++ b/lib/libssl/src/crypto/dso/dso_dlfcn.c @@ -281,12 +281,12 @@ static char *dlfcn_name_converter(DSO *dso, const char *filename) if(transform) { if ((DSO_flags(dso) & DSO_FLAG_NAME_TRANSLATION_EXT_ONLY) == 0) - sprintf(translated, "lib%s.so", filename); + snprintf(translated, rsize, "lib%s.so", filename); else - sprintf(translated, "%s.so", filename); + snprintf(translated, rsize, "%s.so", filename); } else - sprintf(translated, "%s", filename); + snprintf(translated, rsize, "%s", filename); return(translated); } |