]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r282726: Ensure libmd symbols do not clash with libcrypto
authoravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Feb 2017 16:07:45 +0000 (16:07 +0000)
committeravg <avg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 23 Feb 2017 16:07:45 +0000 (16:07 +0000)
commiteb4da037c4e75baf5afad7052889fe36e0be09c1
treebd67041804952121849b0446fdd42ad565139edb
parentaa8db43e1f612d304904d8019a7957e5d0872605
MFC r282726: Ensure libmd symbols do not clash with libcrypto

Add a prefix to all symbols in libmd to avoid incompatibilites
with same-named, but not binary compatible, symbols from libcrypto.

Also introduce Weak aliases to avoid the need to rebuild dependent
binaries and a major version bump.

PR: 199119

git-svn-id: svn://svn.freebsd.org/base/stable/10@314144 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
14 files changed:
lib/libmd/md4.h
lib/libmd/md4c.c
lib/libmd/md5.h
lib/libmd/md5c.c
lib/libmd/mdXhl.c
lib/libmd/ripemd.h
lib/libmd/rmd160c.c
lib/libmd/sha.h
lib/libmd/sha1c.c
lib/libmd/sha256.h
lib/libmd/sha256c.c
lib/libmd/sha512.h
lib/libmd/sha512c.c
lib/libmd/shadriver.c