summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_att.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2005-05-11 03:45:39 +0000
committerBodo Möller <bodo@openssl.org>2005-05-11 03:45:39 +0000
commit8afca8d9c60c3d7db6f9bc94a97c77f016fc139d (patch)
treedf6c0046c8ebb68825940173c750ae0fb37f0f0c /crypto/x509/x509_att.c
parent35e8510e60ef0b033b304289db28a3cb19c6cbdd (diff)
Fix more error codes.
(Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
Diffstat (limited to 'crypto/x509/x509_att.c')
-rw-r--r--crypto/x509/x509_att.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_att.c b/crypto/x509/x509_att.c
index 0bae3d32a1..bd1fdec207 100644
--- a/crypto/x509/x509_att.c
+++ b/crypto/x509/x509_att.c
@@ -141,7 +141,7 @@ STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x,
*x=sk;
return(sk);
err:
- X509err(X509_F_X509_ADD_ATTR,ERR_R_MALLOC_FAILURE);
+ X509err(X509_F_X509AT_ADD1_ATTR,ERR_R_MALLOC_FAILURE);
err2:
if (new_attr != NULL) X509_ATTRIBUTE_free(new_attr);
if (sk != NULL) sk_X509_ATTRIBUTE_free(sk);