diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-04 11:06:18 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-09 16:25:33 +0200 |
commit | 80db34b6191f2c76a605e216798d96767571efc1 (patch) | |
tree | d978e7dc816f533e7bc067296bf4e22fbb97bb0d | |
parent | 1a76bba4a40255f63dbc3694de4c9cb49afa52ba (diff) | |
download | gnutls-80db34b6191f2c76a605e216798d96767571efc1.tar.gz |
libgnutls.map: separated symbols introduced in 3.6.0
This separation assists tools like rpm which can detect
the right version of the library to use, by using the
symbol version.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/libgnutls.map | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/lib/libgnutls.map b/lib/libgnutls.map index 2568b9aefb..cb471523dc 100644 --- a/lib/libgnutls.map +++ b/lib/libgnutls.map @@ -18,6 +18,11 @@ # You should have received a copy of the GNU Lesser General Public License # along with this program. If not, see <http://www.gnu.org/licenses/> +# When new symbols are added in a release (x.y.z) they are added +# as GNUTLS_x_y_z { global: new_symbol } GNUTLS_prev_release_version +# That allows tools like rpm detect the correct library dependency of an application. +# See CONTRIBUTION.md symbol versioning section for more information. + GNUTLS_3_4 { global: @@ -1133,13 +1138,20 @@ GNUTLS_3_4 gnutls_x509_crq_get_dn3; gnutls_utf8_password_normalize; gnutls_idna_map; + gnutls_idna_reverse_map; + local: + *; +}; + +GNUTLS_3_6_0 +{ + global: gnutls_pubkey_export_rsa_raw2; gnutls_pubkey_export_dsa_raw2; gnutls_pubkey_export_ecc_raw2; gnutls_privkey_export_rsa_raw2; gnutls_privkey_export_dsa_raw2; gnutls_privkey_export_ecc_raw2; - gnutls_idna_reverse_map; gnutls_x509_crt_set_flags; gnutls_x509_crt_check_ip; gnutls_x509_ext_import_inhibit_anypolicy; @@ -1176,7 +1188,7 @@ GNUTLS_3_4 gnutls_base64_decode2; local: *; -}; +} GNUTLS_3_4; GNUTLS_FIPS140_3_4 { gnutls_cipher_self_test; @@ -1200,7 +1212,7 @@ GNUTLS_FIPS140_3_4 { _gnutls_dh_generate_key; _gnutls_ecdh_generate_key; _gnutls_ecdh_compute_key; -}; +} GNUTLS_3_4; GNUTLS_PRIVATE_3_4 { global: @@ -1241,4 +1253,4 @@ GNUTLS_PRIVATE_3_4 { # Internal symbols needed by tests/name-constraints-merge: _gnutls_x509_name_constraints_merge; _gnutls_server_name_set_raw; -}; +} GNUTLS_3_4; |