Don't export internal symbols
authorMatt Caswell <matt@openssl.org>
Mon, 14 Dec 2015 09:22:58 +0000 (09:22 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 15 Dec 2015 16:46:48 +0000 (16:46 +0000)
commite863d92010f250164d0f90cb61e51e3d9429942a
treec8689ff6c2e165a3df90f96736ef87242872b024
parentea09088e172dd0564ec5df64c56d1c402d3679a2
Don't export internal symbols

On Linux when creating the .so file we were exporting all symbols. We should
only be exporting public symbols. This commit fixes the issue. It is only
applicable to linux currently although the same technique may work for other
platforms (e.g. Solaris should work the same way).

This also adds symbol version information to our exported symbols.

Reviewed-by: Richard Levitte <levitte@openssl.org>
.gitignore
Makefile.shared
test/bntest.c
test/recipes/01-test_ordinals.t
util/libeay.num
util/mkdef.pl
util/ssleay.num