]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: removed an skipped failures due to bugs in softhsm 2.0.0
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 17 Jul 2016 07:37:22 +0000 (09:37 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 17 Jul 2016 07:37:22 +0000 (09:37 +0200)
These are no longer an issue as the CI has been updated to softhsm
2.1.0, which addresses them, and they prevented catching the
GNUTLS-SA-2016-2 regression.

tests/pkcs11/pkcs11-chainverify.c
tests/pkcs11/pkcs11-is-known.c

index ac2148b219bfb43bc5f76329fdfd2303ee3238b8..fda1e2de08cbd0429407eff21c9221408dcefc08 100644 (file)
@@ -213,8 +213,7 @@ void doit(void)
                        GNUTLS_PKCS11_OBJ_FLAG_MARK_CA|
                        GNUTLS_PKCS11_OBJ_FLAG_LOGIN_SO);
                if (ret < 0) {
-                       /* FIXME: this is a known softhsm v2.0.0 bug - remove this once our testsuite is updated */
-                       fail_ignore("gnutls_pkcs11_copy_x509_crt: %s\n", gnutls_strerror(ret));
+                       fail("gnutls_pkcs11_copy_x509_crt: %s\n", gnutls_strerror(ret));
                }
 
                gnutls_x509_trust_list_init(&tl, 0);
index 62666abaf409da54aa1ec3d0dc394ac872936bb6..cc874251e6f192afa17e1bd7050302dd102999f9 100644 (file)
@@ -495,8 +495,7 @@ void doit(void)
                snprintf(name, sizeof(name), "test-ca%d", j);
                ret = gnutls_pkcs11_copy_x509_crt(SOFTHSM_URL, certs[j], name, GNUTLS_PKCS11_OBJ_FLAG_MARK_TRUSTED|GNUTLS_PKCS11_OBJ_FLAG_MARK_CA|GNUTLS_PKCS11_OBJ_FLAG_LOGIN_SO);
                if (ret < 0) {
-                       /* FIXME: this is a known softhsm v2.0.0 bug - remove this once our testsuite is updated */
-                       fail_ignore("gnutls_pkcs11_copy_x509_crt: %s\n", gnutls_strerror(ret));
+                       fail("gnutls_pkcs11_copy_x509_crt: %s\n", gnutls_strerror(ret));
                }
        }