[SCM] GNU gnutls branch, master, updated. gnutls_3_0_17-41-g2734e50

"Nikos Mavrogiannopoulos" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.cvs
Message-ID <[email protected]>
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=2734e50bd15800eb70fcebc764aafbf7e4d54c0e

The branch, master has been updated
       via  2734e50bd15800eb70fcebc764aafbf7e4d54c0e (commit)
      from  4cbb6204392958db368e3250d79bf74b264480cc (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 2734e50bd15800eb70fcebc764aafbf7e4d54c0e
Author: Nikos Mavrogiannopoulos <[email protected]>
Date:   Sat Mar 24 13:49:02 2012 +0100

    use correct type in snprintf.

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

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

diff --git a/lib/x509/ocsp.c b/lib/x509/ocsp.c
index 229a437..9855352 100644
--- a/lib/x509/ocsp.c
+++ b/lib/x509/ocsp.c
@@ -1771,7 +1771,7 @@ gnutls_ocsp_resp_get_certs (gnutls_ocsp_resp_t resp,
     {
       char name[ASN1_MAX_NAME_SIZE];
 
-      snprintf (name, sizeof (name), "certs.?%lu", ctr + 1);
+      snprintf (name, sizeof (name), "certs.?%u", (unsigned int)(ctr + 1));
       ret = _gnutls_x509_der_encode (resp->basicresp, name, &c, 0);
       if (ret == GNUTLS_E_ASN1_ELEMENT_NOT_FOUND)
 	break;


hooks/post-receive
-- 
GNU gnutls
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.