]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
abi-check: correctly bail-out on errors
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 22 Jul 2019 08:00:51 +0000 (10:00 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 22 Jul 2019 08:04:14 +0000 (10:04 +0200)
Added suppressions for _MAX enumerator values.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Makefile.am
devel/libgnutls.abignore

index 79cb59eb7cdbb4c14db1015c1b6cbc002ce79a4f..405d2fdebfa571dce52fd7b1e7fee55afbf127d0 100644 (file)
@@ -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 "********************"
index c53bcda9f0d1205c89d3ecad853de5067ec00b4e..63e374217b5f9c007fcf780c4f488243c6a49ca6 100644 (file)
@@ -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
+