Change the "offset too large" message to more generic wording
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 2 Apr 2018 08:54:52 +0000 (10:54 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 3 Apr 2018 14:02:17 +0000 (16:02 +0200)
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)

apps/asn1pars.c

index f1756c1fdba56c031a9a0febe3288a1a99041cd1..62c70b9cc4405e97581316e025241d80e614082b 100644 (file)
@@ -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;
     }