[git] KSBA - branch, master, updated. libksba-1.2.0-4-gaa6cbc8

by Werner Koch cvs at cvs.gnupg.org
Tue Dec 6 22:25:35 CET 2011


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  aa6cbc8332e59ad94b104b51ea59784f17e522f6 (commit)
      from  3f957f48388756732b5795b77b65d5ab7c0c8298 (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 aa6cbc8332e59ad94b104b51ea59784f17e522f6
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Dec 6 21:33:43 2011 +0100

    Allow to set subject and issuer.
    
    * src/certreq.c (ksba_certreq_set_issuer): Do not check the subject.

diff --git a/.gitignore b/.gitignore
index 6a26f3b..a345612 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@
 /doc/Makefile.in
 /doc/ksba.info
 /tests/Makefile.in
+/src/asn1-parse.c
diff --git a/src/certreq.c b/src/certreq.c
index d9737bf..33a5df3 100644
--- a/src/certreq.c
+++ b/src/certreq.c
@@ -161,7 +161,7 @@ ksba_certreq_set_issuer (ksba_certreq_t cr, const char *name)
 {
   if (!cr || !name)
     return gpg_error (GPG_ERR_INV_VALUE);
-  if (cr->subject.der)
+  if (cr->x509.issuer.der)
     return gpg_error (GPG_ERR_CONFLICT); /* Already set */
   return _ksba_dn_from_str (name, &cr->x509.issuer.der,
                             &cr->x509.issuer.derlen);

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

Summary of changes:
 .gitignore    |    1 +
 src/certreq.c |    2 +-
 2 files changed, 2 insertions(+), 1 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