summaryrefslogtreecommitdiffhomepage
path: root/bignum.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-02-23 15:50:30 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-02-23 15:50:30 +0000
commit38ed870ffeea569f6da1e615685147a84f231cf3 (patch)
treecc0c3378b7e231df6b44c881d10235c313478a60 /bignum.c
parent1e4ed404c500c4bf01300a9efe7e2fb329dc3b02 (diff)
Improve capitalisation for all logged strings
--HG-- extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bignum.c b/bignum.c
index 60b5220..cf50ddc 100644
--- a/bignum.c
+++ b/bignum.c
@@ -31,7 +31,7 @@
void m_mp_init(mp_int *mp) {
if (mp_init(mp) != MP_OKAY) {
- dropbear_exit("mem alloc error");
+ dropbear_exit("Mem alloc error");
}
}
@@ -45,7 +45,7 @@ void m_mp_init_multi(mp_int *mp, ...)
va_start(args, mp); /* init args to next argument from caller */
while (cur_arg != NULL) {
if (mp_init(cur_arg) != MP_OKAY) {
- dropbear_exit("mem alloc error");
+ dropbear_exit("Mem alloc error");
}
cur_arg = va_arg(args, mp_int*);
}
@@ -55,7 +55,7 @@ void m_mp_init_multi(mp_int *mp, ...)
void bytes_to_mp(mp_int *mp, const unsigned char* bytes, unsigned int len) {
if (mp_read_unsigned_bin(mp, (unsigned char*)bytes, len) != MP_OKAY) {
- dropbear_exit("mem alloc error");
+ dropbear_exit("Mem alloc error");
}
}