From 51a6081719373d5dabda0d628d1637c501dd2068 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Tue, 22 Sep 2015 08:54:43 +0100 Subject: 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: Andy Polyakov --- engines/e_ossltest_err.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/e_ossltest_err.c') diff --git a/engines/e_ossltest_err.c b/engines/e_ossltest_err.c index c1b0063b9d..4abb395963 100644 --- a/engines/e_ossltest_err.c +++ b/engines/e_ossltest_err.c @@ -71,6 +71,8 @@ static ERR_STRING_DATA OSSLTEST_str_functs[] = { {ERR_FUNC(OSSLTEST_F_BIND_OSSLTEST), "BIND_OSSLTEST"}, + {ERR_FUNC(OSSLTEST_F_OSSLTEST_AES128_INIT_KEY), + "OSSLTEST_AES128_INIT_KEY"}, {0, NULL} }; -- cgit v1.2.1