Skip to content

Commit

Permalink
format fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Baentsch <[email protected]>
  • Loading branch information
baentsch committed Jan 9, 2025
1 parent 32de7e2 commit f62d9a5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/oqs_test_libctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,10 @@ static int oqs_generate_kem_elems(const char *kemalg_name, EVP_PKEY **key,
}

if (OSSL_PROVIDER_available(libctx, "default")) {
testresult = (ctx = EVP_PKEY_CTX_new_from_name(libctx, kemalg_name,
"provider=oqsprovider")) != NULL &&
EVP_PKEY_keygen_init(ctx) && EVP_PKEY_generate(ctx, key);
testresult =
(ctx = EVP_PKEY_CTX_new_from_name(
libctx, kemalg_name, "provider=oqsprovider")) != NULL &&
EVP_PKEY_keygen_init(ctx) && EVP_PKEY_generate(ctx, key);

if (!testresult)
goto err;
Expand Down

0 comments on commit f62d9a5

Please sign in to comment.