summaryrefslogtreecommitdiffstats
path: root/crypto/dso/dso_lib.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2006-01-02 08:59:20 +0000
committerAndy Polyakov <appro@openssl.org>2006-01-02 08:59:20 +0000
commitc6cb42e4fba2457c72e17aab2fbe01f411edf6fa (patch)
tree874e451b3f7ebfaedf13b84e622d8b8f40abb0bf /crypto/dso/dso_lib.c
parent2d43a89488151c39f66d45003ccb4310646516ae (diff)
"Relax" prototype and rename DSO_global_lookup_func to DSO_global_lookup.
Diffstat (limited to 'crypto/dso/dso_lib.c')
-rw-r--r--crypto/dso/dso_lib.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/crypto/dso/dso_lib.c b/crypto/dso/dso_lib.c
index f4d148c24a..c9d978b527 100644
--- a/crypto/dso/dso_lib.c
+++ b/crypto/dso/dso_lib.c
@@ -477,15 +477,7 @@ int DSO_pathbyaddr(void *addr,char *path,int sz)
return (*meth->pathbyaddr)(addr,path,sz);
}
-/* This function should be used with caution! It looks up symbols in
- * *all* loaded modules and if module gets unloaded by somebody else
- * attempt to dereference the pointer is doomed to have fatal
- * consequences. Primary usage for this function is to probe *core*
- * system functionality, e.g. check if getnameinfo(3) is available
- * at run-time without bothering about OS-specific details such as
- * libc.so.versioning or where does it actually reside: in libc
- * itself or libsocket. */
-DSO_FUNC_TYPE DSO_global_lookup_func(const char *name)
+void *DSO_global_lookup(const char *name)
{
DSO_METHOD *meth = default_DSO_meth;
if (meth == NULL) meth = DSO_METHOD_openssl();