Skip to content
Commit d4f4fcab authored by Matthias Kraft's avatar Matthias Kraft Committed by Richard Levitte
Browse files

Add "weak" declarations of symbols used in safestack.h and lhash.h



Only for SunCC for now.

It turns out that some compilers to generate external variants of
unused static inline functions, and if they use other external
symbols, those need to be present as well.  If you then happen to
include one of safestack.h or lhash.h without linking with libcrypto,
the build fails.

Fixes #6912

Signed-off-by: default avatarMatthias Kraft <Matthias.Kraft@softwareag.com>

Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8087)

(cherry picked from commit 6638b221)
parent 5865bc0f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment