Changeset View
Changeset View
Standalone View
Standalone View
g10/keylist.c
Show First 20 Lines • Show All 1,176 Lines • ▼ Show 20 Lines | |||||
static void | static void | ||||
print_compliance_flags (PKT_public_key *pk, | print_compliance_flags (PKT_public_key *pk, | ||||
unsigned int keylength, const char *curvename) | unsigned int keylength, const char *curvename) | ||||
{ | { | ||||
int any = 0; | int any = 0; | ||||
if (pk->version == 5) | if (pk->version == 5) | ||||
{ | { | ||||
es_fputs ("8", es_stdout); | es_fputs (gnupg_status_compliance_flag (CO_GNUPG), es_stdout); | ||||
any++; | any++; | ||||
} | } | ||||
if (gnupg_pk_is_compliant (CO_DE_VS, pk, keylength, curvename)) | if (gnupg_pk_is_compliant (CO_DE_VS, pk, keylength, curvename)) | ||||
{ | { | ||||
es_fputs (any? " 23":"23", es_stdout); | es_fprintf (es_stdout, any ? " %s" : "%s", | ||||
gnupg_status_compliance_flag (CO_DE_VS)); | |||||
any++; | any++; | ||||
} | } | ||||
} | } | ||||
/* List a key in colon mode. If SECRET is true this is a secret key | /* List a key in colon mode. If SECRET is true this is a secret key | ||||
record (i.e. requested via --list-secret-key). If HAS_SECRET a | record (i.e. requested via --list-secret-key). If HAS_SECRET a | ||||
secret key is available even if SECRET is not set. */ | secret key is available even if SECRET is not set. */ | ||||
▲ Show 20 Lines • Show All 763 Lines • Show Last 20 Lines |