gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU gnutls branch, master, updated. gnutls_3_1_2-34-gb474d91


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_1_2-34-gb474d91
Date: Tue, 02 Oct 2012 19:10:03 +0000

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 "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=b474d918f31a97fb3c3999ac83d819360aa3f7b0

The branch, master has been updated
       via  b474d918f31a97fb3c3999ac83d819360aa3f7b0 (commit)
      from  3cc4ba2845a42dddd444795d36056aaf270f2980 (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 b474d918f31a97fb3c3999ac83d819360aa3f7b0
Author: Nikos Mavrogiannopoulos <address@hidden>
Date:   Tue Oct 2 20:58:18 2012 +0200

    If revocation reason cannot be read set it to 
GNUTLS_X509_CRLREASON_UNSPECIFIED.

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

Summary of changes:
 lib/x509/ocsp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/x509/ocsp.c b/lib/x509/ocsp.c
index 67892e8..8756431 100644
--- a/lib/x509/ocsp.c
+++ b/lib/x509/ocsp.c
@@ -1414,7 +1414,7 @@ gnutls_ocsp_resp_get_single (gnutls_ocsp_resp_t resp,
   gnutls_datum_t sa;
   char name[ASN1_MAX_NAME_SIZE];
   int ret;
-
+  
   snprintf (name, sizeof (name),
            "tbsResponseData.responses.?%u.certID.hashAlgorithm.algorithm",
            indx + 1);
@@ -1583,7 +1583,7 @@ gnutls_ocsp_resp_get_single (gnutls_ocsp_resp_t resp,
       ret = _gnutls_x509_read_uint (resp->basicresp, name,
                                     revocation_reason);
       if (ret < 0)
-        return gnutls_assert_val(ret);
+        *revocation_reason = GNUTLS_X509_CRLREASON_UNSPECIFIED;
     }
 
   return GNUTLS_E_SUCCESS;


hooks/post-receive
-- 
GNU gnutls



reply via email to

[Prev in Thread] Current Thread [Next in Thread]