]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Update to 0.5.9.
authorSimon Josefsson <simon@josefsson.org>
Sun, 6 Aug 2006 14:33:19 +0000 (14:33 +0000)
committerSimon Josefsson <simon@josefsson.org>
Sun, 6 Aug 2006 14:33:19 +0000 (14:33 +0000)
libextra/opencdk/kbnode.c
libextra/opencdk/opencdk.h
libextra/opencdk/stream.h

index a0f8dac317291be303af995e1481f12cfbfc6aa6..b2987156996c1248ffd60645b6b9559fc1cfcb63 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- Mode: C; c-file-style: "bsd" -*-
  * kbnode.c -  keyblock node utility functions
- *        Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ *        Copyright (C) 1998, 1999, 2000, 2001, 2006 Free Software Foundation, Inc.
  *        Copyright (C) 2002, 2003 Timo Schulz
  *
  * This file is part of OpenCDK.
@@ -438,7 +438,7 @@ cdk_kbnode_write_to_mem( cdk_kbnode_t node, byte * buf, size_t * r_nbytes )
         if( !buf ) {
             *r_nbytes = len; /* only return the length of the buffer */
             cdk_stream_close( s );
-            return 0;
+            return CDK_Too_Short;
         }
         if( *r_nbytes < len )
             rc = CDK_Too_Short;
index 6d49eaed3758c88012a443201d4c17a9187c7f5a..e8161d185e6387533d492af3eb333f90b3279a11 100644 (file)
@@ -1,5 +1,6 @@
 /* opencdk.h - Open Crypto Development Kit (OpenCDK)
- *        Copyright (C) 2001, 2002, 2003 Timo Schulz
+ *        Copyright (C) 2006 Free Software Foundation, Inc.
+ *        Copyright (C) 2001, 2002, 2003, 2005 Timo Schulz
  *
  * This file is part of OpenCDK.
  *
@@ -23,7 +24,7 @@
 
 #include <stdarg.h>
 
-#define OPENCDK_VERSION "0.5.5"
+#define OPENCDK_VERSION "0.5.9"
 
 #ifdef __cplusplus
 extern "C" {
index 3d108919571761161fc518c1ec13dde3c7d8ff20..1a485f2b3482006dea17e80ef57af3604acee149 100644 (file)
@@ -15,8 +15,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with OpenCDK; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ * along with OpenCDK; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
 #ifndef CDK_STREAM_H