]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the way 'factor' behaves when using OpenSSL to match the description
authorgad <gad@FreeBSD.org>
Sun, 12 Jan 2020 20:25:11 +0000 (20:25 +0000)
committergad <gad@FreeBSD.org>
Sun, 12 Jan 2020 20:25:11 +0000 (20:25 +0000)
commit06ccf4587391f81e8f79a9cbc13c5bd09bf278cc
tree49301aa9dde170076705e0614f089949eb370aaf
parent58c0da1e84e2c63365cada56594eae15e1cf77b1
Fix the way 'factor' behaves when using OpenSSL to match the description
of how it works when not compiled with OpenSSL.

Also, allow users to specify a hexadecimal number by using a prefix of
'0x'.  Before this, users could only specify a hexadecimal value if that
value included a hex digit ('a'-'f') in the value.

PR: 243136
Submitted by: Steve Kargl
Reviewed by: gad
MFC after: 3 weeks
usr.bin/factor/factor.6
usr.bin/factor/factor.c
usr.bin/primes/primes.c