diff options
Diffstat (limited to 'lib/libcrypto/objects/o_names.c')
-rw-r--r-- | lib/libcrypto/objects/o_names.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/objects/o_names.c b/lib/libcrypto/objects/o_names.c index 169b8ae87da..908d947b4ed 100644 --- a/lib/libcrypto/objects/o_names.c +++ b/lib/libcrypto/objects/o_names.c @@ -166,7 +166,7 @@ OBJ_NAME_add(const char *name, int type, const char *data) alias = type & OBJ_NAME_ALIAS; type &= ~OBJ_NAME_ALIAS; - onp = (OBJ_NAME *)malloc(sizeof(OBJ_NAME)); + onp = malloc(sizeof(OBJ_NAME)); if (onp == NULL) { /* ERROR */ return (0); |