]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/libsec/port/primetest.c
libsec: mpconv -> mpfmt
[plan9front.git] / sys / src / libsec / port / primetest.c
index 2d082e64fb15f845de278df193d57cd472d230b2..cc649c38471215652a3ccb2a43ff0d4a4cd895f9 100644 (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