X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=apps%2Ffipsinstall.c;fp=apps%2Ffipsinstall.c;h=8152f3956bd71d825ee64719076ec1d398100662;hb=2ff286c26c29b69b02ca99656d26d2f8cfd54682;hp=d0efdf7643bd3252e90c32ae6285f0524b765a71;hpb=a6838c8d52087f2b0494bbab8486e10944aff7f7;p=openssl.git diff --git a/apps/fipsinstall.c b/apps/fipsinstall.c index d0efdf7643..8152f3956b 100644 --- a/apps/fipsinstall.c +++ b/apps/fipsinstall.c @@ -7,7 +7,7 @@ * https://www.openssl.org/source/license.html */ -#include +#include "internal/cryptlib.h" #include #include #include @@ -368,9 +368,9 @@ opthelp: case OPT_MACOPT: if (!sk_OPENSSL_STRING_push(opts, opt_arg())) goto opthelp; - if (strncmp(opt_arg(), "hexkey:", 7) == 0) + if (HAS_PREFIX(opt_arg(), "hexkey:")) gotkey = 1; - else if (strncmp(opt_arg(), "digest:", 7) == 0) + else if (HAS_PREFIX(opt_arg(), "digest:")) gotdigest = 1; break; case OPT_VERIFY: