Switch libmd wrapper to use dlsym()

Switch from the previous versioned symbol implementation which required
users to also link against the message digest provider explicitly, or
they would fail to find the symbols, to an implementation that loads
the symbols from the linked library providing the functions using
dlsym(), thus preserving backwards compatibility.
This commit is contained in:
Guillem Jover
2021-02-09 05:57:37 +01:00
parent 2374f409de
commit 31f034e386
3 changed files with 66 additions and 32 deletions

View File

@@ -52,8 +52,6 @@ check_PROGRAMS = \
vis-openbsd \
$(nil)
md5_LDADD = $(LDADD) $(MD_LIBS)
if HAVE_LIBTESTU01
arc4random_LDADD = $(LDADD) $(TESTU01_LIBS)