Skip to content
Commit 51a60817 authored by Matt Caswell's avatar Matt Caswell
Browse files

Change ossltest engine to manually allocate cipher_data



The ossltest engine wraps the built-in implementation of aes128-cbc.
Normally in an engine the cipher_data structure is automatically allocated
by the EVP layer. However this relies on the engine specifying up front
the size of that cipher_data structure. In the case of ossltest this value
isn't available at compile time. This change makes the ossltest engine
allocate its own cipher_data structure instead of leaving it to the EVP
layer.

Reviewed-by: default avatarAndy Polyakov <appro@openssl.org>
parent a2c1dedc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment