Author: noodles
Date: 2003/06/07 13:45:34
Clean up some compile warnings (C++ comments, missing #includes)
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: armor.c,v 1.5 2003/06/04 20:57:06 noodles Exp $
+ * $Id: armor.c,v 1.6 2003/06/07 13:45:34 noodles Exp $
static void dearmor_finish(struct dearmor_context *state)
{
static void dearmor_finish(struct dearmor_context *state)
{
+ /*
+ * Check the checksum
+ */
state->crc24 &= 0xffffffL;
state->crc24 &= 0xffffffL;
-// state->putchar_func(state->ctx, '\n');
-// state->putchar_func(state->ctx, '=');
-// state->putchar_func(state->ctx, encode64(state->crc24 >> 18));
-// state->putchar_func(state->ctx, encode64((state->crc24 >> 12) & 0x3F));
-// state->putchar_func(state->ctx, encode64((state->crc24 >> 6) & 0x3F));
-// state->putchar_func(state->ctx, encode64(state->crc24 & 0x3F));
-
+ /*
+ state->putchar_func(state->ctx, '\n');
+ state->putchar_func(state->ctx, '=');
+ state->putchar_func(state->ctx, encode64(state->crc24 >> 18));
+ state->putchar_func(state->ctx, encode64((state->crc24 >> 12) & 0x3F));
+ state->putchar_func(state->ctx, encode64((state->crc24 >> 6) & 0x3F));
+ state->putchar_func(state->ctx, encode64(state->crc24 & 0x3F));
+ */
dearmor_ctx.ctx = ctx;
read_openpgp_stream(dearmor_getchar_c, &dearmor_ctx, packets);
dearmor_finish(&dearmor_ctx);
dearmor_ctx.ctx = ctx;
read_openpgp_stream(dearmor_getchar_c, &dearmor_ctx, packets);
dearmor_finish(&dearmor_ctx);
- // TODO: Look for armor footer
+ /*
+ * TODO: Look for armor footer
+ */
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: keydb.h,v 1.7 2003/06/04 20:57:08 noodles Exp $
+ * $Id: keydb.h,v 1.8 2003/06/07 13:45:34 noodles Exp $
*/
#ifndef __KEYDB_H__
#define __KEYDB_H__
*/
#ifndef __KEYDB_H__
#define __KEYDB_H__
#include <inttypes.h>
#include "keystructs.h"
#include <inttypes.h>
#include "keystructs.h"
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: keyid.h,v 1.4 2003/06/04 20:57:09 noodles Exp $
+ * $Id: keyid.h,v 1.5 2003/06/07 13:45:34 noodles Exp $
*/
#ifndef __KEYID_H__
#define __KEYID_H__
*/
#ifndef __KEYID_H__
#define __KEYID_H__
#include <inttypes.h>
#include "keystructs.h"
#include <inttypes.h>
#include "keystructs.h"
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: lookup.c,v 1.9 2003/06/04 22:11:41 noodles Exp $
+ * $Id: lookup.c,v 1.10 2003/06/07 13:45:34 noodles Exp $
#include <inttypes.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "armor.h"
#include <unistd.h>
#include "armor.h"
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: mem.c,v 1.5 2003/06/04 20:57:10 noodles Exp $
+ * $Id: mem.c,v 1.6 2003/06/07 13:45:35 noodles Exp $
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "keystructs.h"
#include "ll.h"
#include "keystructs.h"
#include "ll.h"
*
* Copyright 2002 Project Purple
*
*
* Copyright 2002 Project Purple
*
- * $Id: merge.c,v 1.10 2003/06/04 20:57:11 noodles Exp $
+ * $Id: merge.c,v 1.11 2003/06/07 13:45:35 noodles Exp $
if (cur->next == NULL) {
*list_end = prev;
}
if (cur->next == NULL) {
*list_end = prev;
}
- // TODO: Free the removed signed packet...
+ /*
+ * TODO: Free the removed signed packet...
+ */
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <inttypes.h>
#include "bithelp.h"
#include <inttypes.h>
#include "bithelp.h"