apps/cmp.c: Correct -keyform option range w.r.t engine

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13690)
This commit is contained in:
Dr. David von Oheimb 2020-11-12 21:27:37 +01:00 committed by Dr. David von Oheimb
parent f6d3359d65
commit b36d6a5ef8

View File

@ -1068,7 +1068,7 @@ static int transform_opts(void)
return 0;
}
#ifdef OPENSSL_NO_ENGINE
#ifndef OPENSSL_NO_ENGINE
# define FORMAT_OPTIONS (OPT_FMT_PEMDER | OPT_FMT_PKCS12 | OPT_FMT_ENGINE)
#else
# define FORMAT_OPTIONS (OPT_FMT_PEMDER | OPT_FMT_PKCS12)