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

Update alg_props allocation to use ensure_... function #660

Open
adpaco-aws opened this issue Dec 9, 2020 · 0 comments
Open

Update alg_props allocation to use ensure_... function #660

adpaco-aws opened this issue Dec 9, 2020 · 0 comments

Comments

@adpaco-aws
Copy link
Collaborator

alg_props structures are commonly initialized as

struct aws_cryptosdk_alg_properties alg_props;

ensure_alg_properties_attempt_allocation(&alg_props);

but we have updated ensure_alg_properties_attemp_allocation in #638 . Thus we should change the previous code to

struct aws_cryptosdk_alg_properties alg_props = ensure_alg_properties_attempt_allocation(MAX_STRING_LEN);

in all proofs using alg_props structures.

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

No branches or pull requests

1 participant