From b7f2aed0f25b8222ee72973e3a75f551c5d3c456 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 6 Feb 2016 07:19:31 +0100 Subject: [PATCH] libsec: mpconv -> mpfmt --- sys/src/libsec/port/egtest.c | 2 +- sys/src/libsec/port/primetest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/libsec/port/egtest.c b/sys/src/libsec/port/egtest.c index 41b438dcf..7c17c266f 100644 --- a/sys/src/libsec/port/egtest.c +++ b/sys/src/libsec/port/egtest.c @@ -9,7 +9,7 @@ main(void) mpint *m, *gamma, *delta, *in, *out; int plen, shift; - fmtinstall('B', mpconv); + fmtinstall('B', mpfmt); sk = egprivalloc(); sk->pub.p = uitomp(2357, nil); diff --git a/sys/src/libsec/port/primetest.c b/sys/src/libsec/port/primetest.c index 2d082e64f..cc649c384 100644 --- a/sys/src/libsec/port/primetest.c +++ b/sys/src/libsec/port/primetest.c @@ -10,7 +10,7 @@ main(void) mpint *q = mpnew(0); mpint *nine = mpnew(0); - fmtinstall('B', mpconv); + fmtinstall('B', mpfmt); strtomp("2492491", nil, 16, z); // 38347921 = x*y = (2**28-9)/7, // an example of 3**(n-1)=1 mod n strtomp("15662C00E811", nil, 16, p);// 23528569104401, a prime -- 2.44.0