summaryrefslogtreecommitdiff
path: root/engines/e_ossltest_err.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-09-22 08:54:43 +0100
committerMatt Caswell <matt@openssl.org>2015-09-25 15:13:57 +0100
commit51a6081719373d5dabda0d628d1637c501dd2068 (patch)
tree8be21554ae1e269cbdd15fc75cc920b61d4dc38f /engines/e_ossltest_err.c
parenta2c1dedc5de3312fd4d6506923f2a61eecc67985 (diff)
downloadopenssl-new-51a6081719373d5dabda0d628d1637c501dd2068.tar.gz
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 <appro@openssl.org>
Diffstat (limited to 'engines/e_ossltest_err.c')
-rw-r--r--engines/e_ossltest_err.c2
1 files changed, 2 insertions, 0 deletions
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}
};