]> git.cworth.org Git - fips/commitdiff
dlwrap: Add new dlwrap_dlopen_libfips function
authorCarl Worth <cworth@cworth.org>
Mon, 5 Aug 2013 17:23:10 +0000 (10:23 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 5 Aug 2013 17:23:10 +0000 (10:23 -0700)
Previously, two different pieces of fips code (both for dlopen and for
glXGetProcAddress) both needed to dlopen the fips library
itself. However, the two pieces were implemented differently, (one
passed a symbol to dladdr to find a filename to dlopen, the other just
passed NULL to dlsym and hopef for the best).

Make things consistent by having a single, shared implementation in
the new function dlwrap_dlopen_libfips, (and implement it with the
more reliable approach of calling dladdr and then the real dlopen).


No differences found