From: Tobias Brunner Date: Wed, 13 Oct 2021 13:17:09 +0000 (+0200) Subject: pki: Use correct enum value to initialize ID type in --keyid command X-Git-Tag: 5.9.4~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2403154f95fcbecdb2d25bf70f28bf83c5981b05;p=thirdparty%2Fstrongswan.git pki: Use correct enum value to initialize ID type in --keyid command --- diff --git a/src/pki/commands/keyid.c b/src/pki/commands/keyid.c index 10651f5ca7..45b5e3617d 100644 --- a/src/pki/commands/keyid.c +++ b/src/pki/commands/keyid.c @@ -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;