aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/newkey/generic.c
Commit message (Collapse)AuthorAgeFilesLines
* Squelch clang 3.9.0 warnings about BASE (which is 32768) being convertedDimitry Andric2016-08-301-1/+1
| | | | | | | | | | | to -32768 when it is used as an argument to mp_itom(), in both libtelnet and newkey. This code has been wrong since r26238 (!), so after almost 20 years it is rather useless to try to correct it. MFC after: 1 week Notes: svn path=/head/; revision=305077
* Rename all symbols in libmp(3) to mp_*, just like Solaris.Ed Schouten2009-02-261-20/+20
| | | | | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky Notes: svn path=/head/; revision=189092
* ANSIfy, VCS inclusions and some very minor style.Mark Murray2002-04-281-13/+9
| | | | Notes: svn path=/head/; revision=95633
* remove __PWarner Losh2002-03-221-2/+2
| | | | Notes: svn path=/head/; revision=92921
* WARNS=2 fixup.Mark Murray2001-12-021-8/+13
| | | | | | | Turn on YP (NIS) while I'm about it. Notes: svn path=/head/; revision=87204
* Switch from using rand() or random() to a stronger, more appropriate PRNGKris Kennaway2001-03-051-10/+1
| | | | | | | | | (random() or arc4random()) Reviewed by: bde Notes: svn path=/head/; revision=73563
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add usage(), use err(3).Philippe Charnier1997-07-291-0/+5
| | | | | | | Rewrote man page in mdoc format. Notes: svn path=/head/; revision=27754
* Import newkey.Bill Paul1997-05-281-0/+135
This is the program used to generate new Secure RPC public and secret key pairs. Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=26238