-
Notifications
You must be signed in to change notification settings - Fork 861
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
[MAINT] Fixed wrong null-safety condition check in haicrypt #2616
[MAINT] Fixed wrong null-safety condition check in haicrypt #2616
Conversation
Given SRT is C++, using C99 should not be a problem for the project itself. And I guess the library is no longer used alone. @jeandube Please approve the changes. |
@@ -149,11 +144,6 @@ int HaiCrypt_Tx_Process(HaiCrypt_Handle hhc, | |||
/* Manage Key Material (refresh, announce, decommission) */ | |||
hcryptCtx_Tx_ManageKM(crypto); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeandube : Note that I'm taking it as a good deal that the call to hcryptCtx_Tx_ManageKM
doesn't modify the assignment of crypto->ctx
; as far as I could check it, it shouldn't.
Looks good to me. |
Fixes #2376
IMPORTANT: Since this version C99 is the minimum standard required for compiling haicrypt.