/* -*- 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.
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;
/* 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.
*
#include <stdarg.h>
-#define OPENCDK_VERSION "0.5.5"
+#define OPENCDK_VERSION "0.5.9"
#ifdef __cplusplus
extern "C" {
* 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