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

capabilities: make capability selection case insensitive. #12450

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion providers/common/capabilities.c
Expand Up @@ -17,6 +17,7 @@
#include "internal/nelem.h"
#include "internal/tlsgroups.h"
#include "prov/providercommon.h"
#include "e_os.h"

typedef struct tls_group_constants_st {
unsigned int group_id; /* Group ID */
Expand Down Expand Up @@ -177,7 +178,7 @@ static int tls_group_capability(OSSL_CALLBACK *cb, void *arg)
int provider_get_capabilities(void *provctx, const char *capability,
OSSL_CALLBACK *cb, void *arg)
{
if (strcmp(capability, "TLS-GROUP") == 0)
if (strcasecmp(capability, "TLS-GROUP") == 0)
return tls_group_capability(cb, arg);

/* We don't support this capability */
Expand Down