implement support for hiding symbols in libtls / libssl

This commit is contained in:
Brent Cook
2016-11-05 08:44:35 -05:00
committed by kinichiro
parent 348362416d
commit 7770e4f2e4
6 changed files with 42 additions and 341 deletions

View File

@@ -5,8 +5,9 @@ lib_LTLIBRARIES = libtls.la
EXTRA_DIST = VERSION
EXTRA_DIST += CMakeLists.txt
EXTRA_DIST += tls.def
EXTRA_DIST += tls.sym
libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined
libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined -export-symbols $(top_srcdir)/tls/tls.sym
libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la
libtls_la_LIBADD += $(abs_top_builddir)/crypto/libcrypto.la
libtls_la_LIBADD += $(PLATFORM_LDADD)

View File

@@ -1,9 +1,7 @@
EXPORTS
strsep
tls_accept_cbs
tls_accept_fds
tls_accept_socket
tls_check_name
tls_client
tls_close
tls_config_add_keypair_file
@@ -14,8 +12,8 @@ tls_config_free
tls_config_insecure_noverifycert
tls_config_insecure_noverifyname
tls_config_insecure_noverifytime
tls_config_load_file
tls_config_new
tls_config_ocsp_require_stapling
tls_config_parse_protocols
tls_config_prefer_ciphers_client
tls_config_prefer_ciphers_server
@@ -28,8 +26,6 @@ tls_config_set_cert_mem
tls_config_set_ciphers
tls_config_set_dheparams
tls_config_set_ecdhecurve
tls_config_set_error
tls_config_set_errorx
tls_config_set_key_file
tls_config_set_key_mem
tls_config_set_keypair_file
@@ -40,10 +36,6 @@ tls_config_verify
tls_config_verify_client
tls_config_verify_client_optional
tls_configure
tls_configure_server
tls_configure_ssl
tls_configure_ssl_keypair
tls_configure_ssl_verify
tls_conn_alpn_selected
tls_conn_cipher
tls_conn_servername
@@ -53,19 +45,12 @@ tls_connect_cbs
tls_connect_fds
tls_connect_servername
tls_connect_socket
tls_conninfo_free
tls_conninfo_populate
tls_error
tls_error_set
tls_error_setx
tls_free
tls_handshake
tls_handshake_client
tls_handshake_server
tls_host_port
tls_init
tls_load_file
tls_new
tls_ocsp_process_response
tls_peer_cert_contains_name
tls_peer_cert_hash
tls_peer_cert_issuer
@@ -73,14 +58,15 @@ tls_peer_cert_notafter
tls_peer_cert_notbefore
tls_peer_cert_provided
tls_peer_cert_subject
tls_peer_ocsp_cert_status
tls_peer_ocsp_crl_reason
tls_peer_ocsp_next_update
tls_peer_ocsp_response_status
tls_peer_ocsp_result
tls_peer_ocsp_revocation_time
tls_peer_ocsp_this_update
tls_peer_ocsp_url
tls_read
tls_reset
tls_server
tls_server_conn
tls_set_cbs
tls_set_error
tls_set_errorx
tls_sni_ctx_free
tls_sni_ctx_new
tls_ssl_error
tls_write