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-04-07 03:51:26 +0300
committerAdam Langley <agl@google.com>2015-04-08 23:42:57 +0300
commit2f18c1babb07b2cdaec039a60309946d68f7ad98 (patch)
tree0c1bcc486f431fb596b5464fc310c89a83f4de3c /crypto/asn1
parent69fe82ae1efa7611e9cb78b62d2d143102fbd804 (diff)
Prune away (almost) all of asn1_mac.h
Amazingly, asn1_GetSequence isn't completely unused? Keep that around for now and ditch everything else. This lets us enable C4311 in MSVC which is actually a pretty reasonable warning. Change-Id: I43bb9206b1745e8a68224f3a435713d2a74e04ea Reviewed-on: https://boringssl-review.googlesource.com/4256 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/asn1')
-rw-r--r--crypto/asn1/asn1_lib.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c
index 22b441c1..9aa26788 100644
--- a/crypto/asn1/asn1_lib.c
+++ b/crypto/asn1/asn1_lib.c
@@ -504,15 +504,6 @@ int ASN1_STRING_cmp(const ASN1_STRING *a, const ASN1_STRING *b)
return(i);
}
-void asn1_add_error(const unsigned char *address, int offset)
- {
- char buf1[DECIMAL_SIZE(address)+1],buf2[DECIMAL_SIZE(offset)+1];
-
- BIO_snprintf(buf1,sizeof buf1,"%lu",(unsigned long)address);
- BIO_snprintf(buf2,sizeof buf2,"%d",offset);
- ERR_add_error_data(4,"address=",buf1," offset=",buf2);
- }
-
int ASN1_STRING_length(const ASN1_STRING *x)
{ return M_ASN1_STRING_length(x); }