libsec: update primetest to use mpfmt

R=rsc
http://codereview.appspot.com/464041
This commit is contained in:
Russ Cox 2010-03-11 18:04:12 -08:00
parent ddfc031c3b
commit a1afc8529d

View file

@ -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 */