Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHÃ¥vard Molland <haavardm@opera.com>2015-03-20 15:15:39 +0300
committerAdam Langley <agl@google.com>2015-03-21 01:12:59 +0300
commitab2479a08a766a453838161d29b45fdbe08c0630 (patch)
treec0e41c714dc7a3cedf358fe48d11868add143a9e /crypto/asn1/tasn_dec.c
parent32156b974d4ad6266b4cc3e3ac32f87af95858ac (diff)
Clean up error reporting.
Quite a few functions reported wrong function names when pushing to the error stack. Change-Id: I84d89dbefd2ecdc89ffb09799e673bae17be0e0f Reviewed-on: https://boringssl-review.googlesource.com/4080 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/asn1/tasn_dec.c')
-rw-r--r--crypto/asn1/tasn_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c
index 854f1833..d5a26eee 100644
--- a/crypto/asn1/tasn_dec.c
+++ b/crypto/asn1/tasn_dec.c
@@ -1217,7 +1217,7 @@ static int collect_data(BUF_MEM *buf, const unsigned char **p, long plen)
len = buf->length;
if (!BUF_MEM_grow_clean(buf, len + plen))
{
- OPENSSL_PUT_ERROR(ASN1, asn1_collect, ERR_R_MALLOC_FAILURE);
+ OPENSSL_PUT_ERROR(ASN1, collect_data, ERR_R_MALLOC_FAILURE);
return 0;
}
memcpy(buf->data + len, *p, plen);