[OpenPGP:SDK svn] r584 - openpgpsdk/trunk/src/lib
Subversion
ben at links.org
Tue Aug 19 14:48:23 BST 2008
Author: rachel
Date: 2008-08-19 14:48:22 +0100 (Tue, 19 Aug 2008)
New Revision: 584
Modified:
openpgpsdk/trunk/src/lib/packet-show.c
Log:
Portability change
Modified: openpgpsdk/trunk/src/lib/packet-show.c
===================================================================
--- openpgpsdk/trunk/src/lib/packet-show.c 2008-08-19 13:30:45 UTC (rev 583)
+++ openpgpsdk/trunk/src/lib/packet-show.c 2008-08-19 13:48:22 UTC (rev 584)
@@ -109,7 +109,7 @@
{ OPS_PARSER_ERROR, "OPS_PARSER_ERROR" },
{ OPS_PARSER_ERRCODE, "OPS_PARSER_ERRCODE" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
typedef ops_map_t packet_tag_map_t;
@@ -134,7 +134,7 @@
{ OPS_PTAG_SS_KEY_FLAGS, "Key Flags" },
{ OPS_PTAG_SS_REVOCATION_REASON, "Reason for Revocation" },
{ OPS_PTAG_SS_FEATURES, "Features" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
typedef ops_map_t ss_type_map_t;
@@ -146,7 +146,7 @@
{ 0x02, "Key material has been compromised" },
{ 0x03, "Key is retired and no longer used" },
{ 0x20, "User ID information is no longer valid" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
typedef ops_map_t ss_rr_code_map_t;
@@ -167,7 +167,7 @@
{ OPS_SIG_REV_CERT, "Certification revocation signature" },
{ OPS_SIG_TIMESTAMP, "Timestamp signature" },
{ OPS_SIG_3RD_PARTY, "Third-Party Confirmation signature" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
typedef ops_map_t sig_type_map_t;
@@ -193,7 +193,7 @@
{ OPS_PKA_PRIVATE08, "Private/Experimental" },
{ OPS_PKA_PRIVATE09, "Private/Experimental" },
{ OPS_PKA_PRIVATE10, "Private/Experimental" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
typedef ops_map_t public_key_algorithm_map_t;
@@ -208,7 +208,7 @@
{ OPS_SA_AES_192, "AES (192-bit key)" },
{ OPS_SA_AES_256, "AES (256-bit key)" },
{ OPS_SA_TWOFISH, "Twofish(256-bit key)" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
static ops_map_t hash_algorithm_map[] =
@@ -219,7 +219,7 @@
{ OPS_HASH_SHA256, "SHA256" },
{ OPS_HASH_SHA384, "SHA384" },
{ OPS_HASH_SHA512, "SHA512" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
static ops_map_t compression_algorithm_map[] =
@@ -228,7 +228,7 @@
{ OPS_C_ZIP, "ZIP(RFC1951)" },
{ OPS_C_ZLIB, "ZLIB(RFC1950)" },
{ OPS_C_BZIP2, "Bzip2(BZ2)" },
- { (int) NULL, (char *)NULL }, /* this is the end-of-array marker */
+ { 0x00, (char *)NULL }, /* this is the end-of-array marker */
};
static ops_bit_map_t ss_notation_data_map_byte0[] =
@@ -261,11 +261,13 @@
{ 0x08, "May be used to encrypt storage" },
{ 0x10, "Private component may have been split by a secret-sharing mechanism"},
{ 0x80, "Private component may be in possession of more than one person"},
+ { 0x00, (char *)NULL },
};
static ops_bit_map_t ss_key_server_prefs_map[] =
{
{ 0x80, "Key holder requests that this key only be modified or updated by the key holder or an administrator of the key server" },
+ { 0x00, (char *)NULL },
};
#include <openpgpsdk/packet-show-cast.h>
More information about the OpenPGPsdk-svn
mailing list