summaryrefslogtreecommitdiff
path: root/crypto/objects/obj_err.c
diff options
context:
space:
mode:
authorsteve <steve>2004-12-05 01:03:04 +0000
committersteve <steve>2004-12-05 01:03:04 +0000
commit90025e75ef9d40c09df8b91b2aeade5323bdb469 (patch)
tree74333f1c495e321814a96955a94e890157ca78b2 /crypto/objects/obj_err.c
parent275cbf18ce51954f6fcab85f17b35309070cc027 (diff)
downloadopenssl-90025e75ef9d40c09df8b91b2aeade5323bdb469.tar.gz
Add lots of checks for memory allocation failure, error codes to indicate
failure and freeing up memory if a failure occurs. PR:620
Diffstat (limited to 'crypto/objects/obj_err.c')
-rw-r--r--crypto/objects/obj_err.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/objects/obj_err.c b/crypto/objects/obj_err.c
index 80ab6855a..2b5f43e3c 100644
--- a/crypto/objects/obj_err.c
+++ b/crypto/objects/obj_err.c
@@ -1,6 +1,6 @@
/* crypto/objects/obj_err.c */
/* ====================================================================
- * Copyright (c) 1999 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-2004 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -66,8 +66,10 @@
#ifndef OPENSSL_NO_ERR
static ERR_STRING_DATA OBJ_str_functs[]=
{
+{ERR_PACK(0,OBJ_F_OBJ_ADD_OBJECT,0), "OBJ_add_object"},
{ERR_PACK(0,OBJ_F_OBJ_CREATE,0), "OBJ_create"},
{ERR_PACK(0,OBJ_F_OBJ_DUP,0), "OBJ_dup"},
+{ERR_PACK(0,OBJ_F_OBJ_NAME_NEW_INDEX,0), "OBJ_NAME_new_index"},
{ERR_PACK(0,OBJ_F_OBJ_NID2LN,0), "OBJ_nid2ln"},
{ERR_PACK(0,OBJ_F_OBJ_NID2OBJ,0), "OBJ_nid2obj"},
{ERR_PACK(0,OBJ_F_OBJ_NID2SN,0), "OBJ_nid2sn"},