Skip to content

Commit fc9079e

Browse files
committed
piv-tool.c - missing #else
Missing #else causes EC key creation to fail Changes to be committed: modified: tools/piv-tool.c
1 parent ba6e078 commit fc9079e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/piv-tool.c

+1
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ static int gen_key(const char * key_info)
532532
EVP_PKEY_CTX_free(ctx);
533533
OSSL_PARAM_free(params);
534534
#endif
535+
#else /* OPENSSL_NO_EC */
535536
fprintf(stderr, "This build of OpenSSL does not support EC keys\n");
536537
r = 1;
537538
#endif /* OPENSSL_NO_EC */

0 commit comments

Comments
 (0)