diff options
Diffstat (limited to 'lib/libcrypto/store/str_mem.c')
-rw-r--r-- | lib/libcrypto/store/str_mem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libcrypto/store/str_mem.c b/lib/libcrypto/store/str_mem.c index 0409fd198de..d59799196ae 100644 --- a/lib/libcrypto/store/str_mem.c +++ b/lib/libcrypto/store/str_mem.c @@ -224,8 +224,7 @@ static void * mem_list_start(STORE *s, STORE_OBJECT_TYPES type, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]) { - struct mem_ctx_st *context = - (struct mem_ctx_st *)malloc(sizeof(struct mem_ctx_st)); + struct mem_ctx_st *context = malloc(sizeof(struct mem_ctx_st)); void *attribute_context = NULL; STORE_ATTR_INFO *attrs = NULL; |