[svn] ksba - r237 - in trunk: . src

svn author wk cvs at cvs.gnupg.org
Wed May 10 12:01:40 CEST 2006


Author: wk
Date: 2006-05-10 12:01:39 +0200 (Wed, 10 May 2006)
New Revision: 237

Modified:
   trunk/NEWS
   trunk/THANKS
   trunk/src/ChangeLog
   trunk/src/ber-decoder.c
   trunk/src/ocsp.c
Log:
* ber-decoder.c (decoder_next): Zero out NODE.
	
* ocsp.c (ksba_ocsp_prepare_request): Move requestExtensions into
  the TBSRequest.  Reported by Daiko Ueno.


Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2006-04-23 19:32:38 UTC (rev 236)
+++ trunk/NEWS	2006-05-10 10:01:39 UTC (rev 237)
@@ -1,7 +1,9 @@
 Noteworthy changes in version 0.9.14
 -------------------------------------------------
 
+ * Fixed broken OCSP requests.
 
+
 Noteworthy changes in version 0.9.13 (2005-11-24)
 -------------------------------------------------
 

Modified: trunk/THANKS
===================================================================
--- trunk/THANKS	2006-04-23 19:32:38 UTC (rev 236)
+++ trunk/THANKS	2006-05-10 10:01:39 UTC (rev 237)
@@ -2,11 +2,12 @@
 
 
 Bernhard Herzog          bh at intevation.de
+Daiki Ueno               ueno at unixuser.org
 Stéphane Corthésy        stephane at sente.ch
 Thomas Koester           tkoester at intevation.de
 
 
- Copyright 2002, 2003 g10 Code GmbH
+ Copyright 2002, 2003, 2006 g10 Code GmbH
 
  This file is free software; as a special exception the author gives
  unlimited permission to copy and/or distribute it, with or without

Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2006-04-23 19:32:38 UTC (rev 236)
+++ trunk/src/ChangeLog	2006-05-10 10:01:39 UTC (rev 237)
@@ -1,3 +1,10 @@
+2006-05-03  Werner Koch  <wk at g10code.com>
+
+	* ber-decoder.c (decoder_next): Zero out NODE.
+
+	* ocsp.c (ksba_ocsp_prepare_request): Move requestExtensions into
+	the TBSRequest.  Reported by Daiko Ueno.
+
 2006-04-23  Brad Hards <bradh at frogmouth.net>  (mb)
 
 	* ksba.h (ksba_crl_get_update_times): Rename parameter to avoid

Modified: trunk/src/ber-decoder.c
===================================================================
--- trunk/src/ber-decoder.c	2006-04-23 19:32:38 UTC (rev 236)
+++ trunk/src/ber-decoder.c	2006-05-10 10:01:39 UTC (rev 237)
@@ -750,7 +750,7 @@
 decoder_next (BerDecoder d)
 {
   struct tag_info ti;
-  AsnNode node;
+  AsnNode node = NULL;
   gpg_error_t err;
   DECODER_STATE ds = d->ds;
   int debug = d->debug;

Modified: trunk/src/ocsp.c
===================================================================
--- trunk/src/ocsp.c	2006-04-23 19:32:38 UTC (rev 236)
+++ trunk/src/ocsp.c	2006-05-10 10:01:39 UTC (rev 237)
@@ -626,7 +626,9 @@
   if (err)
     goto leave;
 
-  
+  /* The requestExtensions go here. */
+  err = write_request_extensions (ocsp, w4);
+
   /* Write the tbsRequest. */
 
   /* The version is default, thus we don't write it. */
@@ -648,9 +650,6 @@
   if (err)
     goto leave;
 
-  /* The requestExtensions go here. */
-  err = write_request_extensions (ocsp, w5);
-
   /* Reuse writers; for clarity, use new names. */ 
   w6 = w3;
   w7 = w4;




More information about the Gnupg-commits mailing list