summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2019-07-22 10:00:51 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2019-07-22 10:04:14 +0200
commit52553b9ec3e8df16f3dd3a19812c3a1db9b46dbf (patch)
tree250d698b553a74faf57eb9dcd0d4de812919da8f
parent55c76aab7620aa2609bb488a8ab72c7d782e8424 (diff)
downloadgnutls-tmp-fix-abicheck.tar.gz
abi-check: correctly bail-out on errorstmp-fix-abicheck
Added suppressions for _MAX enumerator values. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--Makefile.am4
-rw-r--r--devel/libgnutls.abignore40
2 files changed, 42 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 79cb59eb7c..405d2fdebf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -128,7 +128,7 @@ abi-check: lib/libgnutls.la libdane/libgnutls-dane.la
echo "****************************************************************************"; \
echo "ABI check failed; If intentional add suppression in devel/libgnutls.abignore"; \
echo "****************************************************************************"; \
- false; \
+ exit 1; \
fi; \
done
@for file in $$(echo $(srcdir)/devel/libdane-*-$$(uname -m).abi);do \
@@ -139,7 +139,7 @@ abi-check: lib/libgnutls.la libdane/libgnutls-dane.la
echo "ABI check failed; If intentional add a "; \
echo "libabigail suppression file for libgnutls-dane"; \
echo "**********************************************"; \
- false; \
+ exit 1; \
fi; \
done
@echo "********************"
diff --git a/devel/libgnutls.abignore b/devel/libgnutls.abignore
index c53bcda9f0..63e374217b 100644
--- a/devel/libgnutls.abignore
+++ b/devel/libgnutls.abignore
@@ -10,3 +10,43 @@ name_regexp = _gnutls*
[suppress_variable]
symbol_version = GNUTLS_PRIVATE_3_4
+[suppress_type]
+name = gnutls_x509_subject_alt_name_t
+changed_enumerators = GNUTLS_SAN_MAX
+
+[suppress_type]
+name = gnutls_alert_description_t
+changed_enumerators = GNUTLS_A_NO_APPLICATION_PROTOCOL
+
+[suppress_type]
+name = gnutls_protocol_t
+changed_enumerators = GNUTLS_TLS_VERSION_MAX
+
+[suppress_type]
+name = gnutls_protocol_t
+changed_enumerators = GNUTLS_DTLS_VERSION_MAX
+
+[suppress_type]
+name = gnutls_certificate_type_t
+changed_enumerators = GNUTLS_CRT_MAX
+
+[suppress_type]
+name = gnutls_pk_algorithm_t
+changed_enumerators = GNUTLS_PK_MAX
+
+[suppress_type]
+name = gnutls_sign_algorithm_t
+changed_enumerators = GNUTLS_SIGN_MAX
+
+[suppress_type]
+name = gnutls_ecc_curve_t
+changed_enumerators = GNUTLS_ECC_CURVE_MAX
+
+[suppress_type]
+name = gnutls_group_t
+changed_enumerators = GNUTLS_GROUP_MAX
+
+[suppress_type]
+name = gnutls_sec_param_t
+changed_enumerators = GNUTLS_SEC_PARAM_MAX
+