]> git.cworth.org Git - fips/commit
dlwrap: Don't resolve libfips_handle on every call to dlopen.
authorCarl Worth <cworth@cworth.org>
Wed, 12 Jun 2013 23:16:51 +0000 (16:16 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 12 Jun 2013 23:27:42 +0000 (16:27 -0700)
commit54157251d30d586e8f97fb594f22bf18e9ac4bbe
tree2ef763bfe8bc96b8ace6ae129306ecceeff5bdae
parent22aa573de2860ddfe9092167525e2917e3a03cb8
dlwrap: Don't resolve libfips_handle on every call to dlopen.

Instead, call dladdr and the real dlopen on the first call to dlopen
then save the libfips_handle result for all future calls.
dlwrap.c