[git] KSBA - branch, master, updated. libksba-1.3.5-10-g39e633d

by Kai Michaelis cvs at cvs.gnupg.org
Thu Aug 10 17:38:36 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "KSBA is a library to access X.509 certificates and CMS data.".

The branch, master has been updated
       via  39e633d6d224cafa83d884865ac4e372709d91b7 (commit)
      from  3e029a4ed0059116febe05924a14009ca622e3c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 39e633d6d224cafa83d884865ac4e372709d91b7
Author: Kai Michaelis <kai at gnupg.org>
Date:   Thu Aug 10 17:17:30 2017 +0200

    Enable CMS parser test.
    
    * tests/Makefile.am: add t-cms-parser to the list of tests.
    * tests/t-cms-parser.c: change default test file to something that
      exists.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9652674..f6436df 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -39,13 +39,13 @@ EXTRA_DIST = $(test_certs) samples/README mkoidtbl.awk
 BUILT_SOURCES = oidtranstbl.h
 CLEANFILES = oidtranstbl.h
 
-TESTS = cert-basic t-crl-parser t-dnparser t-oid t-reader
+TESTS = cert-basic t-crl-parser t-dnparser t-oid t-reader t-cms-parser
 
 AM_CFLAGS = $(GPG_ERROR_CFLAGS) $(COVERAGE_CFLAGS)
 AM_LDFLAGS = -no-install $(COVERAGE_LDFLAGS)
 
 noinst_HEADERS = t-common.h
-noinst_PROGRAMS = $(TESTS) t-cms-parser t-crl-parser t-dnparser t-ocsp
+noinst_PROGRAMS = $(TESTS) t-ocsp
 LDADD = ../src/libksba.la $(GPG_ERROR_LIBS)
 
 t_ocsp_SOURCES = t-ocsp.c sha1.c
diff --git a/tests/t-cms-parser.c b/tests/t-cms-parser.c
index e912aea..6ece100 100644
--- a/tests/t-cms-parser.c
+++ b/tests/t-cms-parser.c
@@ -233,7 +233,7 @@ main (int argc, char **argv)
   if (argc > 1)
     one_file (argv[1]);
   else
-    one_file ("x.ber");
+    one_file (prepend_srcdir ("extra/dsig-with-id-aa-encrypKeyPref-1.cms"));
   /*one_file ("pkcs7-1.ber");*/
   /*one_file ("root-cert-2.der");  should fail */
 

-----------------------------------------------------------------------

Summary of changes:
 tests/Makefile.am    | 4 ++--
 tests/t-cms-parser.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
KSBA is a library to access X.509 certificates and CMS data.
http://git.gnupg.org




More information about the Gnupg-commits mailing list