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

Fix for setting scopes via API #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jpk233
Copy link
Contributor

@jpk233 jpk233 commented Sep 11, 2024

No description provided.

@@ -1434,7 +1434,7 @@ char * certifier_create_csr_post_data(CertifierPropMap * props, const unsigned c
const char * authenticated_tag_1 = property_get(props, CERTIFIER_OPT_AUTH_TAG_1);
size_t num_days = (size_t) property_get(props, CERTIFIER_OPT_VALIDITY_DAYS);
bool is_certificate_lite = property_is_option_set(props, CERTIFIER_OPTION_CERTIFICATE_LITE);
bool use_scopes = property_is_option_set(props, CERTIFIER_OPTION_USE_SCOPES);
bool use_scopes = property_get(props, CERTIFIER_OPTION_USE_SCOPES);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
bool use_scopes = property_get(props, CERTIFIER_OPTION_USE_SCOPES);
bool use_scopes = (bool) property_get(props, CERTIFIER_OPT_USE_SCOPES);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants