Re: fix openssl(1) prime output

2015-09-12 Thread Bob Beck
ok On Sat, Sep 12, 2015 at 7:26 AM, Lawrence Teo wrote: > When the openssl(1) prime command is asked to check the primality of a > decimal number, it changes it to hex in the output which is a little > confusing: > > $ openssl prime 976110468996539 > 377C46DC41DBB is prime > > The following dif

Re: fix openssl(1) prime output

2015-09-12 Thread Miod Vallat
> When the openssl(1) prime command is asked to check the primality of a > decimal number, it changes it to hex in the output which is a little > confusing: > > $ openssl prime 976110468996539 > 377C46DC41DBB is prime > > The following diff fixes this so that it will always show the original > nu

fix openssl(1) prime output

2015-09-12 Thread Lawrence Teo
When the openssl(1) prime command is asked to check the primality of a decimal number, it changes it to hex in the output which is a little confusing: $ openssl prime 976110468996539 377C46DC41DBB is prime The following diff fixes this so that it will always show the original number in the answer