Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sigalg config warning #235

Merged
merged 3 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CONFIGURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ in a standard OS deployment location.
By setting this `cmake` configuration option to "Release" all debug output is disabled.
This is the default setting.

In case of any problem, setting this value to "Debug" is _highly_ recommended to
activate further warning messages. In particular, when "Debug" has been set, distinct
[debugging capabilities](https://github.com/open-quantum-safe/oqs-provider/wiki/Debugging)
are activated and additional setup warnings are output.

### liboqs_DIR

This environment variable must be set to the location of the `liboqs` installation to be
Expand Down
6 changes: 5 additions & 1 deletion oqsprov/oqsprov_capabilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,11 @@ int oqs_provider_get_capabilities(void *provctx, const char *capability,
#ifdef OSSL_CAPABILITY_TLS_SIGALG_NAME
if (strcasecmp(capability, "TLS-SIGALG") == 0)
return oqs_sigalg_capability(cb, arg);
#endif
#else
#ifndef NDEBUG
fprintf(stderr, "Warning: OSSL_CAPABILITY_TLS_SIGALG_NAME not defined: OpenSSL version used that does not support pluggable signature capabilities.\nUpgrading OpenSSL installation recommended to enable QSC TLS signature support.\n\n");
#endif /* NDEBUG */
#endif /* OSSL_CAPABILITY_TLS_SIGALG_NAME */

/* We don't support this capability */
return 0;
Expand Down