Permalink
Browse files

removing unnecessary trailing spaces.

  • Loading branch information...
1 parent ba6c75e commit e8a735292048517032667f074989e265859e1d12 @kazu-yamamoto committed Feb 19, 2010
Showing with 140 additions and 140 deletions.
  1. +1 −1 CHANGES
  2. +1 −1 Makefile.in
  3. +2 −2 README
  4. +10 −10 buffer.c
  5. +7 −7 keys.c
  6. +47 −47 packet.c
  7. +2 −2 pgpdump.1
  8. +11 −11 pgpdump.c
  9. +4 −4 pgpdump.h
  10. +6 −6 signature.c
  11. +6 −6 subfunc.c
  12. +4 −4 tagfuncs.c
  13. +35 −35 types.c
  14. +4 −4 uatfunc.c
View
@@ -143,7 +143,7 @@ Stefan H. Holek <stefan> kindly contributes the followings:
1970, UTC)
* Fixed key and signature expiration time calculations
(expiration time == seconds since creation time)
-* Added capability to read from stdin when no file is specifed on the
+* Added capability to read from stdin when no file is specifed on the
commandline
* Implemented missing subpackets
- revocation_key
View
@@ -11,7 +11,7 @@ INSTALL = install -c -m
INCS = pgpdump.h
SRCS = pgpdump.c types.c tagfuncs.c packet.c subfunc.c signature.c keys.c \
- buffer.c uatfunc.c
+ buffer.c uatfunc.c
OBJS = pgpdump.o types.o tagfuncs.o packet.o subfunc.o signature.o keys.o \
buffer.o uatfunc.o
PROG = pgpdump
View
@@ -30,7 +30,7 @@ Here is an example:
Key ID - 0xA79778E247B63037
Pub alg - DSA Digital Signature Algorithm(pub 17)
Hash alg - SHA1(hash 2)
- Hash left 2 bytes - 8f 82
+ Hash left 2 bytes - 8f 82
DSA r(160 bits) - ...
DSA s(157 bits) - ...
-> hash(DSA q bits)
@@ -47,7 +47,7 @@ Take the following steps to install "pgpdump".
<Usage>
-To know how to use pgpdump, type "pgpdump -h".
+To know how to use pgpdump, type "pgpdump -h".
Some examples are stored in the "data" directory. Also, you can
visualize your pubring and secring.
View
@@ -50,7 +50,7 @@ private byte d_buf3[BUFSIZ];
private signed char
base256[] = {
OOB,OOB,OOB,OOB, OOB,OOB,OOB,OOB, OOB,OOB,ELF,OOB, OOB,ECR,OOB,OOB,
-
+
OOB,OOB,OOB,OOB, OOB,OOB,OOB,OOB, OOB,OOB,OOB,OOB, OOB,OOB,OOB,OOB,
/* - / */
OOB,OOB,OOB,OOB, OOB,OOB,OOB,OOB, OOB,OOB,OOB, 62, OOB,OOB,OOB, 63,
@@ -63,16 +63,16 @@ base256[] = {
/* a b c d e f g h i j k l m n o*/
OOB, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
/* p q r s t u v w x y z */
- 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,OOB, OOB,OOB,OOB,OOB,
+ 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51,OOB, OOB,OOB,OOB,OOB,
};
private int
-line_not_blank(byte *s)
-{
+line_not_blank(byte *s)
+{
while (isspace(*s)) {
if (*s == CR || *s == LF)
return NO;
- s++;
+ s++;
}
return YES;
}
@@ -370,7 +370,7 @@ Compressed_Data_Packet(int len)
bz.opaque = (void *)0;
#endif /* HAVE_LIBBZ2 */
- /*
+ /*
* 0 uncompressed
* 1 ZIP without zlib header (RFC 1951)
* inflateInit2 (strm, -13)
@@ -436,14 +436,14 @@ Compressed_Data_Packet(int len)
#endif /* defined(HAVE_LIBZ) || defined(HAVE_LIBBZ2) */
}
-/*
+/*
* Copyright (C) 1998 Kazuhiko Yamamoto
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@@ -452,7 +452,7 @@ Compressed_Data_Packet(int len)
* 3. Neither the name of the author nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
View
@@ -14,13 +14,13 @@ private void plain_Secret_Key(int);
private void encrypted_Secret_Key(int, int);
public void
-Public_Subkey_Packet(int len)
+Public_Subkey_Packet(int len)
{
Public_Key_Packet(len);
}
public void
-Public_Key_Packet(int len)
+Public_Key_Packet(int len)
{
VERSION = Getc();
printf("\tVer %d - ", VERSION);
@@ -95,7 +95,7 @@ IV(unsigned int len)
}
public void
-Secret_Subkey_Packet(int len)
+Secret_Subkey_Packet(int len)
{
Secret_Key_Packet(len);
}
@@ -235,14 +235,14 @@ encrypted_Secret_Key(int len, int sha1)
}
}
-/*
+/*
* Copyright (C) 1998 Kazuhiko Yamamoto
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@@ -251,7 +251,7 @@ encrypted_Secret_Key(int len, int sha1)
* 3. Neither the name of the author nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
View
@@ -24,19 +24,19 @@ private int is_partial(int);
private string
TAG[] = {
"Reserved",
- "Public-Key Encrypted Session Key Packet",
- "Signature Packet",
- "Symmetric-Key Encrypted Session Key Packet",
- "One-Pass Signature Packet",
- "Secret Key Packet",
- "Public Key Packet",
- "Secret Subkey Packet",
- "Compressed Data Packet",
- "Symmetrically Encrypted Data Packet",
+ "Public-Key Encrypted Session Key Packet",
+ "Signature Packet",
+ "Symmetric-Key Encrypted Session Key Packet",
+ "One-Pass Signature Packet",
+ "Secret Key Packet",
+ "Public Key Packet",
+ "Secret Subkey Packet",
+ "Compressed Data Packet",
+ "Symmetrically Encrypted Data Packet",
"Marker Packet",
- "Literal Data Packet",
- "Trust Packet",
- "User ID Packet",
+ "Literal Data Packet",
+ "Trust Packet",
+ "User ID Packet",
"Public Subkey Packet",
"unknown",
"unknown",
@@ -166,18 +166,18 @@ SIGSUB[] = {
"signature creation time(sub 2)",
"signature expiration time(sub 3)",
"exportable certification(sub 4)",
- "trust signature(sub 5)",
+ "trust signature(sub 5)",
"regular expression(sub 6)",
"revocable(sub 7)",
"reserved(sub 8)",
"key expiration time(sub 9)",
"additional decryption key(sub 10) WARNING: see CA-2000-18!!!",
- "preferred symmetric algorithms(sub 11)",
- "revocation key(sub 12)",
+ "preferred symmetric algorithms(sub 11)",
+ "revocation key(sub 12)",
"reserved(sub 13)",
"reserved(sub 14)",
"reserved(sub 15)",
- "issuer key ID(sub 16)",
+ "issuer key ID(sub 16)",
"reserved(sub 17)",
"reserved(sub 18)",
"reserved(sub 19)",
@@ -187,7 +187,7 @@ SIGSUB[] = {
"key server preferences(sub 23)",
"preferred key server(sub 24)",
"primary User ID(sub 25)",
- "policy URL(sub 26)",
+ "policy URL(sub 26)",
"key flags(sub 27)",
"signer's User ID(sub 28)",
"reason for revocation(sub 29)",
@@ -201,34 +201,34 @@ private funcptr
sigsub_func[] = {
NULL,
NULL,
- signature_creation_time,
- signature_expiration_time,
- exportable_certification,
- trust_signature,
- regular_expression,
- revocable,
- NULL,
+ signature_creation_time,
+ signature_expiration_time,
+ exportable_certification,
+ trust_signature,
+ regular_expression,
+ revocable,
+ NULL,
key_expiration_time,
additional_decryption_key,
- preferred_symmetric_algorithms,
- revocation_key,
- NULL,
- NULL,
- NULL,
- issuer_key_ID,
- NULL,
- NULL,
- NULL,
- notation_data,
- preferred_hash_algorithms,
- preferred_compression_algorithms,
- key_server_preferences,
- preferred_key_server,
- primary_user_id,
- policy_URL,
+ preferred_symmetric_algorithms,
+ revocation_key,
+ NULL,
+ NULL,
+ NULL,
+ issuer_key_ID,
+ NULL,
+ NULL,
+ NULL,
+ notation_data,
+ preferred_hash_algorithms,
+ preferred_compression_algorithms,
+ key_server_preferences,
+ preferred_key_server,
+ primary_user_id,
+ policy_URL,
key_flags,
- signer_user_id,
- reason_for_revocation,
+ signer_user_id,
+ reason_for_revocation,
features,
signature_target,
embedded_signature,
@@ -367,7 +367,7 @@ parse_packet(void)
if (len == EOF) return;
}
if ( have_packet == NO )
- warn_exit("unexpected end of file.");
+ warn_exit("unexpected end of file.");
}
public void
@@ -447,14 +447,14 @@ parse_userattr_subpacket(string prefix, int tlen)
}
}
-/*
+/*
* Copyright (C) 1998 Kazuhiko Yamamoto
* All rights reserved.
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
- *
+ *
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@@ -463,7 +463,7 @@ parse_userattr_subpacket(string prefix, int tlen)
* 3. Neither the name of the author nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
View
@@ -1,10 +1,10 @@
.\" Copyright (C) 2001 Kazu Yamamoto
.\" All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
-.\"
+.\"
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
Oops, something went wrong.

0 comments on commit e8a7352

Please sign in to comment.