summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-03-23 12:58:38 (GMT)
committernijtmans <nijtmans>2010-03-23 12:58:38 (GMT)
commitddc540e0328b146dd871015f3c32296da797920a (patch)
treeaff7dbfe0bd97a4d49dca1356f58e5452e89f3a8 /libtommath
parent6838a5c3396760aa126ef99f25c1bb7b992700ba (diff)
downloadtcl-ddc540e0328b146dd871015f3c32296da797920a.zip
tcl-ddc540e0328b146dd871015f3c32296da797920a.tar.gz
tcl-ddc540e0328b146dd871015f3c32296da797920a.tar.bz2
Make error message in "try" implementation
exactly the same as the one in "return"
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/mtest/mpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libtommath/mtest/mpi.c b/libtommath/mtest/mpi.c
index 1b6f114..2122389 100644
--- a/libtommath/mtest/mpi.c
+++ b/libtommath/mtest/mpi.c
@@ -6,7 +6,7 @@
Arbitrary precision integer arithmetic library
- $Id: mpi.c,v 1.1.1.2 2005/09/26 16:32:17 kennykb Exp $
+ $Id: mpi.c,v 1.2 2010/03/23 12:58:41 nijtmans Exp $
*/
#include "mpi.h"
@@ -91,7 +91,7 @@ static unsigned int s_mp_defprec = MP_DEFPREC;
/* {{{ Constant strings */
/* Constant strings returned by mp_strerror() */
-static const char *mp_err_string[] = {
+static const char *const mp_err_string[] = {
"unknown result code", /* say what? */
"boolean true", /* MP_OKAY, MP_YES */
"boolean false", /* MP_NO */
@@ -3981,5 +3981,5 @@ int s_mp_outlen(int bits, int r)
/* crc==4242132123, version==2, Sat Feb 02 06:43:52 2002 */
/* $Source: /root/tcl/repos-to-convert/tcl/libtommath/mtest/mpi.c,v $ */
-/* $Revision: 1.1.1.2 $ */
-/* $Date: 2005/09/26 16:32:17 $ */
+/* $Revision: 1.2 $ */
+/* $Date: 2010/03/23 12:58:41 $ */