boringssl/ssl
Adam Langley eb7d2ed1fe Add visibility rules.
This change marks public symbols as dynamically exported. This means
that it becomes viable to build a shared library of libcrypto and libssl
with -fvisibility=hidden.

On Windows, one not only needs to mark functions for export in a
component, but also for import when using them from a different
component. Because of this we have to build with
|BORINGSSL_IMPLEMENTATION| defined when building the code. Other
components, when including our headers, won't have that defined and then
the |OPENSSL_EXPORT| tag becomes an import tag instead. See the #defines
in base.h

In the asm code, symbols are now hidden by default and those that need
to be exported are wrapped by a C function.

In order to support Chromium, a couple of libssl functions were moved to
ssl.h from ssl_locl.h: ssl_get_new_session and ssl_update_cache.

Change-Id: Ib4b76e2f1983ee066e7806c24721e8626d08a261
Reviewed-on: https://boringssl-review.googlesource.com/1350
Reviewed-by: Adam Langley <agl@google.com>
2014-07-31 22:03:11 +00:00
..
pqueue Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
test Fix False Start without session tickets. 2014-07-28 20:31:56 +00:00
CMakeLists.txt Add visibility rules. 2014-07-31 22:03:11 +00:00
d1_both.c Make init_msg a uint8_t*. 2014-07-14 21:43:20 +00:00
d1_clnt.c Remove ssl3_check_finished. 2014-07-23 15:52:38 +00:00
d1_enc.c Remove crypto/comp and SSL_COMP support code. 2014-06-24 17:22:06 +00:00
d1_lib.c DTLS: fix memory leak when allocation fails. 2014-06-26 17:46:27 -07:00
d1_meth.c
d1_pkt.c Fix some DTLS alerts. 2014-07-30 00:34:23 +00:00
d1_srtp.c Fix typo in DTLS-SRTP extension parsing. 2014-07-18 00:52:51 +00:00
d1_srvr.c Fix DTLS certificate requesting code. 2014-07-28 17:05:14 -07:00
s3_both.c Change CCS_OK to EXPECT_CCS. 2014-07-25 17:58:58 +00:00
s3_cbc.c Remove OPENSSL_FIPS blocks. 2014-07-07 20:31:50 +00:00
s3_clnt.c A bunch of dead assignments. 2014-07-30 00:44:03 +00:00
s3_enc.c Remove support code for export cipher suites. 2014-07-24 21:14:08 +00:00
s3_lib.c Don't use the RSA key exchange with a signing-only key. 2014-07-24 21:35:40 +00:00
s3_meth.c
s3_pkt.c Remove redundant check. 2014-07-28 17:05:13 -07:00
s3_srvr.c Don't limit message sizes in ssl3_get_cert_verify. 2014-07-28 17:05:13 -07:00
s23_clnt.c Remove get_cipher_by_char and put_cipher_by_char. 2014-07-24 21:10:29 +00:00
s23_lib.c Remove some remnants of SSLv2 support. 2014-07-24 21:10:41 +00:00
s23_meth.c
s23_pkt.c
s23_srvr.c Remove OPENSSL_FIPS blocks. 2014-07-07 20:31:50 +00:00
ssl_algs.c
ssl_asn1.c unifdef OPENSSL_NO_PSK. 2014-07-24 21:11:05 +00:00
ssl_cert.c Remove SSL_get_client_certificate_types. 2014-07-30 00:44:16 +00:00
ssl_ciph.c Make disabling last cipher work. 2014-07-28 17:05:13 -07:00
ssl_error.c Change CCS_OK to EXPECT_CCS. 2014-07-25 17:58:58 +00:00
ssl_lib.c Convert some malloc + memcpys into BUF_memdup. 2014-07-30 00:42:40 +00:00
ssl_locl.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ssl_rsa.c Introduce EVP_PKEY_is_opaque to replace RSA_METHOD_FLAG_NO_CHECK. 2014-07-18 23:35:04 +00:00
ssl_sess.c unifdef OPENSSL_NO_PSK. 2014-07-24 21:11:05 +00:00
ssl_stat.c Consolidate CCS_OK paths in s3_clnt.c. 2014-07-25 17:49:12 +00:00
ssl_test.c Fix magic SSL reason codes. 2014-07-16 18:54:06 +00:00
ssl_txt.c unifdef OPENSSL_NO_PSK. 2014-07-24 21:11:05 +00:00
t1_clnt.c
t1_enc.c Remove support code for export cipher suites. 2014-07-24 21:14:08 +00:00
t1_lib.c Convert some malloc + memcpys into BUF_memdup. 2014-07-30 00:42:40 +00:00
t1_meth.c
t1_reneg.c Port ssl3_get_client_hello to CBS. 2014-07-15 18:30:09 +00:00
t1_srvr.c