diff options
author | Russ Cox <rsc@swtch.com> | 2010-03-11 18:04:12 -0800 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2010-03-11 18:04:12 -0800 |
commit | a1afc8529d03515d361110edcabb73402527be89 (patch) | |
tree | 9589843464f4f9b13659e479d47ee0539a69d01b /src/libsec | |
parent | ddfc031c3bb99a251eb927a71f7f77288c869de3 (diff) | |
download | plan9port-a1afc8529d03515d361110edcabb73402527be89.tar.gz plan9port-a1afc8529d03515d361110edcabb73402527be89.tar.bz2 plan9port-a1afc8529d03515d361110edcabb73402527be89.zip |
libsec: update primetest to use mpfmt
R=rsc
http://codereview.appspot.com/464041
Diffstat (limited to 'src/libsec')
-rw-r--r-- | src/libsec/port/primetest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsec/port/primetest.c b/src/libsec/port/primetest.c index 405b906c..aa509711 100644 --- a/src/libsec/port/primetest.c +++ b/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 */ |