From: Janpopan Date: Sun, 4 May 2014 16:13:43 +0000 (+0200) Subject: Fix a wrong parameter count ERR_add_error_data X-Git-Tag: OpenSSL_1_0_1h~35 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4659b53e7db3094674ce8c5c9dc7add84cfe99d2;p=oweals%2Fopenssl.git Fix a wrong parameter count ERR_add_error_data --- diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c index 5f2254806c..4a56aace0e 100644 --- a/crypto/dso/dso_dlfcn.c +++ b/crypto/dso/dso_dlfcn.c @@ -464,7 +464,7 @@ static int dlfcn_pathbyaddr(void *addr,char *path,int sz) return len; } - ERR_add_error_data(4, "dlfcn_pathbyaddr(): ", dlerror()); + ERR_add_error_data(2, "dlfcn_pathbyaddr(): ", dlerror()); #endif return -1; }