Closed jschmidb closed 1 year ago
Maybe a little correction on the commit description: The openssl lib ctx is already initialized at that point in time, but we need to USE it here. The BEGIN macro sets the libica lib ctx as the current one for the current thread, so that it gets used by subsequent EVP calls. The END amcro changes it back to the previous lib context.
So maybe the following description would be better:
Before calling any openssl EVP function, libica's own openssl lib ctx must be made the current one. This was missing in compute_file_hmac.
ok, commit text changed.
I have asked the test team to recheck their tests with an updated libica package.
Before calling any openssl function, the openssl lib ctx must be initialized. This was missing in compute_file_hmac.