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

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2018-04-02 11:54:52 +0300
committerBernd Edlinger <bernd.edlinger@hotmail.de>2018-04-03 17:02:17 +0300
commit1518c55a796b058eff01f3cbf177f4b726c01d7c (patch)
treea2ae5082c95de8335d800b13bd60d5973d88d437 /apps/asn1pars.c
parent21db0e1afdcf17a189ebe49af3506551b108a2f2 (diff)
Change the "offset too large" message to more generic wording
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/5826)
Diffstat (limited to 'apps/asn1pars.c')
-rw-r--r--apps/asn1pars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index f1756c1fdb..62c70b9cc4 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -259,7 +259,7 @@ int asn1parse_main(int argc, char **argv)
}
if (offset < 0 || offset >= num) {
- BIO_printf(bio_err, "Error: offset too large\n");
+ BIO_printf(bio_err, "Error: offset out of range\n");
goto end;
}