2001-11-02 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (pipemode_copy): Change type of NBYTES to size_t.
* key.c: Include string.h.
* data.c: Likewise.
* recipient.c: Likewise.
tests/
2001-11-02 Marcus Brinkmann <marcus@g10code.de>
* t-data.c: Include stddef.h.
(read_once_test): Change type of READ to size_t.
(read_test): Likewise.
(write_test): Likewise.
+2001-11-02 Marcus Brinkmann <marcus@g10code.de>
+
+ * rungpg.c (pipemode_copy): Change type of NBYTES to size_t.
+
+ * key.c: Include string.h.
+ * data.c: Likewise.
+ * recipient.c: Likewise.
+
2001-10-29 Marcus Brinkmann <marcus@g10code.de>
* context.h: New member signers_len.
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include <errno.h>
#include <sys/types.h>
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include "util.h"
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include "util.h"
pipemode_copy (char *buffer, size_t length, size_t *nread, GpgmeData data )
{
GpgmeError err;
- int nbytes;
+ size_t nbytes;
char tmp[1000], *s, *d;
/* we can optimize this whole thing but for now we just
+2001-11-02 Marcus Brinkmann <marcus@g10code.de>
+
+ * t-data.c: Include stddef.h.
+ (read_once_test): Change type of READ to size_t.
+ (read_test): Likewise.
+ (write_test): Likewise.
+
2001-10-29 Marcus Brinkmann <marcus@g10code.de>
* t-signers.c: New file.
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
{
GpgmeError err;
char buffer[1024];
- int read;
+ size_t read;
err = gpgme_data_read (data, buffer, sizeof (buffer), &read);
fail_if_err (err);
{
GpgmeError err;
char buffer[1024];
- int read;
+ size_t read;
if (round == TEST_INOUT_NONE)
{
{
GpgmeError err;
char buffer[1024];
- int read;
+ size_t read;
err = gpgme_data_write (data, text, strlen (text));
fail_if_err (err);