aboutsummaryrefslogtreecommitdiffstats
path: root/g10/build-packet.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-24 21:50:33 +0000
committerDavid Shaw <[email protected]>2003-05-24 21:50:33 +0000
commit3a23c4230bc61f905a316c2df9116d871fd9029f (patch)
tree6e913e8b23f538fb0bf19e213568a140f077b54e /g10/build-packet.c
parent* bftest.c, crlf.c, mk-tdata.c, mpicalc.c, shmtest.c: Edit all (diff)
downloadgnupg-3a23c4230bc61f905a316c2df9116d871fd9029f.tar.gz
gnupg-3a23c4230bc61f905a316c2df9116d871fd9029f.zip
* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c, options.h, sig-check.c, tdbio.h, encode.c, mainproc.c, parse-packet.c, signal.c, textfilter.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
Diffstat (limited to '')
-rw-r--r--g10/build-packet.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/g10/build-packet.c b/g10/build-packet.c
index 8239e76b5..86aa07dc2 100644
--- a/g10/build-packet.c
+++ b/g10/build-packet.c
@@ -266,12 +266,12 @@ hash_public_key( MD_HANDLE md, PKT_public_key *pk )
ulong pktlen;
int c;
IOBUF a = iobuf_temp();
- #if 0
+#if 0
FILE *fp = fopen("dump.pk", "a");
int i=0;
fprintf(fp, "\nHashing PK (v%d):\n", pk->version);
- #endif
+#endif
/* build the packet */
init_packet(&pkt);
@@ -316,19 +316,19 @@ hash_public_key( MD_HANDLE md, PKT_public_key *pk )
}
/* hash the packet body */
while( (c=iobuf_get(a)) != -1 ) {
- #if 0
+#if 0
fprintf( fp," %02x", c );
if( (++i == 24) ) {
putc('\n', fp);
i=0;
}
- #endif
+#endif
md_putc( md, c );
}
- #if 0
+#if 0
putc('\n', fp);
fclose(fp);
- #endif
+#endif
iobuf_cancel(a);
}