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:
authorDavid Benjamin <davidben@chromium.org>2015-03-11 23:22:37 +0300
committerAdam Langley <agl@google.com>2015-03-13 22:41:42 +0300
commit1a5c50f3a8dd570917c0ab78e4628b5a9f1afe09 (patch)
tree38bd90190a0cce412d0b733c49f30a587e148770 /crypto/asn1
parent7cc29ab83343db1d3aa4fd8f0c3f11740b99a75a (diff)
Error codes are uint32_t, not unsigned long.
Fix a few remnants of them being unsigned long. Also rename extremely unhelpful variable names in SSL_get_error. i is now ret_code to match the header. Change-Id: Ic31d6626bfe09c9e21c03691dfc716c5573833ea Reviewed-on: https://boringssl-review.googlesource.com/3881 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/a_d2i_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c
index c28532ba..6022c741 100644
--- a/crypto/asn1/a_d2i_fp.c
+++ b/crypto/asn1/a_d2i_fp.c
@@ -194,7 +194,7 @@ static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb)
len-off);
if (c.inf & 0x80)
{
- unsigned long e;
+ uint32_t e;
e=ERR_GET_REASON(ERR_peek_error());
if (e != ASN1_R_TOO_LONG)