Changeset 589
- Timestamp:
- 08/19/08 16:15:45
- Files:
-
- openpgpsdk/trunk/src/lib/errors.c (modified) (1 diff)
- openpgpsdk/trunk/src/lib/packet-show.c (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openpgpsdk/trunk/src/lib/errors.c
r588 r589 86 86 ERRNAME(OPS_E_PROTO_BAD_SK_CHECKSUM), 87 87 88 { 0x00, (char *)NULL }, /* this is the end-of-array marker */88 { 0x00, NULL }, /* this is the end-of-array marker */ 89 89 }; 90 90 openpgpsdk/trunk/src/lib/packet-show.c
r584 r589 110 110 { OPS_PARSER_ERRCODE, "OPS_PARSER_ERRCODE" }, 111 111 112 { 0x00, (char *)NULL }, /* this is the end-of-array marker */112 { 0x00, NULL }, /* this is the end-of-array marker */ 113 113 }; 114 114 typedef ops_map_t packet_tag_map_t; … … 135 135 { OPS_PTAG_SS_REVOCATION_REASON, "Reason for Revocation" }, 136 136 { OPS_PTAG_SS_FEATURES, "Features" }, 137 { 0x00, (char *)NULL }, /* this is the end-of-array marker */137 { 0x00, NULL }, /* this is the end-of-array marker */ 138 138 }; 139 139 typedef ops_map_t ss_type_map_t; … … 147 147 { 0x03, "Key is retired and no longer used" }, 148 148 { 0x20, "User ID information is no longer valid" }, 149 { 0x00, (char *)NULL }, /* this is the end-of-array marker */149 { 0x00, NULL }, /* this is the end-of-array marker */ 150 150 }; 151 151 typedef ops_map_t ss_rr_code_map_t; … … 168 168 { OPS_SIG_TIMESTAMP, "Timestamp signature" }, 169 169 { OPS_SIG_3RD_PARTY, "Third-Party Confirmation signature" }, 170 { 0x00, (char *)NULL }, /* this is the end-of-array marker */170 { 0x00, NULL }, /* this is the end-of-array marker */ 171 171 }; 172 172 typedef ops_map_t sig_type_map_t; … … 194 194 { OPS_PKA_PRIVATE09, "Private/Experimental" }, 195 195 { OPS_PKA_PRIVATE10, "Private/Experimental" }, 196 { 0x00, (char *)NULL }, /* this is the end-of-array marker */196 { 0x00, NULL }, /* this is the end-of-array marker */ 197 197 }; 198 198 typedef ops_map_t public_key_algorithm_map_t; … … 209 209 { OPS_SA_AES_256, "AES (256-bit key)" }, 210 210 { OPS_SA_TWOFISH, "Twofish(256-bit key)" }, 211 { 0x00, (char *)NULL }, /* this is the end-of-array marker */211 { 0x00, NULL }, /* this is the end-of-array marker */ 212 212 }; 213 213 … … 220 220 { OPS_HASH_SHA384, "SHA384" }, 221 221 { OPS_HASH_SHA512, "SHA512" }, 222 { 0x00, (char *)NULL }, /* this is the end-of-array marker */222 { 0x00, NULL }, /* this is the end-of-array marker */ 223 223 }; 224 224 … … 229 229 { OPS_C_ZLIB, "ZLIB(RFC1950)" }, 230 230 { OPS_C_BZIP2, "Bzip2(BZ2)" }, 231 { 0x00, (char *)NULL }, /* this is the end-of-array marker */231 { 0x00, NULL }, /* this is the end-of-array marker */ 232 232 }; 233 233 … … 235 235 { 236 236 { 0x80, "Human-readable" }, 237 { 0x00, (char *)NULL },237 { 0x00, NULL }, 238 238 }; 239 239 … … 246 246 { 247 247 { 0x01, "Modification Detection" }, 248 { 0x00, (char *)NULL },248 { 0x00, NULL }, 249 249 }; 250 250 … … 262 262 { 0x10, "Private component may have been split by a secret-sharing mechanism"}, 263 263 { 0x80, "Private component may be in possession of more than one person"}, 264 { 0x00, (char *)NULL },264 { 0x00, NULL }, 265 265 }; 266 266 … … 268 268 { 269 269 { 0x80, "Key holder requests that this key only be modified or updated by the key holder or an administrator of the key server" }, 270 { 0x00, (char *)NULL },270 { 0x00, NULL }, 271 271 }; 272 272
