pki: Use correct enum value to initialize ID type in --keyid command

This commit is contained in:
Tobias Brunner
2021-10-13 15:17:09 +02:00
parent b241e944fa
commit 2403154f95
+1 -1
View File
@@ -76,7 +76,7 @@ static int keyid()
ID_TYPE_ALL,
ID_TYPE_SPK,
ID_TYPE_SPKI,
} id_type = FORMAT_PRETTY;
} id_type = ID_TYPE_ALL;
char *file = NULL, *keyid = NULL;
void *cred;
chunk_t id, spk = chunk_empty, spki = chunk_empty;