summaryrefslogtreecommitdiffstats
path: root/crypto/objects/obj_err.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2018-04-26 12:06:17 -0400
committerRich Salz <rsalz@openssl.org>2018-04-26 12:27:46 -0400
commitf06080cb3da93e99755edb5f19e7ccc132aeba36 (patch)
tree5af1d6860ee8f6f8305a77190fa1f3bc4fcc336b /crypto/objects/obj_err.c
parentd1f7a1e62a5b67b492f8e7eb48130bf00f9a3ab0 (diff)
Add missing error code when alloc-return-null
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6085)
Diffstat (limited to 'crypto/objects/obj_err.c')
-rw-r--r--crypto/objects/obj_err.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/objects/obj_err.c b/crypto/objects/obj_err.c
index 9b4779ad4d..be4f11ca20 100644
--- a/crypto/objects/obj_err.c
+++ b/crypto/objects/obj_err.c
@@ -22,6 +22,7 @@ static const ERR_STRING_DATA OBJ_str_functs[] = {
{ERR_PACK(ERR_LIB_OBJ, OBJ_F_OBJ_NID2LN, 0), "OBJ_nid2ln"},
{ERR_PACK(ERR_LIB_OBJ, OBJ_F_OBJ_NID2OBJ, 0), "OBJ_nid2obj"},
{ERR_PACK(ERR_LIB_OBJ, OBJ_F_OBJ_NID2SN, 0), "OBJ_nid2sn"},
+ {ERR_PACK(ERR_LIB_OBJ, OBJ_F_OBJ_TXT2OBJ, 0), "OBJ_txt2obj"},
{0, NULL}
};