summaryrefslogtreecommitdiffstats
path: root/usr.bin/enigma/enigma.c
Commit message (Collapse)AuthorAgeFilesLines
* Handle NULL return from crypt(3). Mostly from DragonFlykevlo2012-02-221-1/+7
|
* Mark global functions and/or variables in enigma(1) static where possible.ed2011-11-061-9/+9
| | | | This allows compilers and static analyzers to more thorough analysis.
* Fix 32-bit integer math on 64-bit processor. Just use int32_t(!) insteadjkim2006-07-251-10/+3
| | | | | | | of incorrect and machine-dependent integer math. Now we can encrypt a file on an i386 and decrypt it on an amd64, and vice versa. Submitted by: Andrew Heybey < ath at niksun dot com >
* Call crypt() directly instead of taking a detour through makekey.tjr2003-10-091-34/+4
|
* ANSIify function definitions.dwmalone2002-09-041-8/+4
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Consistently use FBSDIDobrien2002-06-301-4/+2
|
* Fix the type of the NULL arg to execl()brian2001-07-091-5/+5
| | | | Idea from: Theo de Raadt <deraadt@openbsd.org>
* Silence -Wshadow and -Wmissing-prototypes; set WARNS=2.dd2001-06-251-13/+15
| | | | Submitted by: Mike Barcroft <mike@q9media.com>
* Remove unwanted CFLAGS, and add a CVS id.eric2001-06-151-0/+5
|
* Fix some of the more blatant bugs in the original code, provide ajoerg1998-10-301-26/+36
| | | | | | | | | | | BSD-able Makefile, add a man page (that also puts a bold warning about the weakness of the encryption), and implement the -k option for compatibility with other vendor's implementations. (Unlike those other vendors, we actually also document this option and its problems.) There are more violations of style(9) in it, like the not-use of getopt(3), but it's not worth the while fixing all of this.
* This is enigma, aka. crypt(1). It has suppsedly been taken fromjoerg1998-10-301-0/+173
Cryptbreakers Workbench. While arguably a rather weak encryption, it's in some use in the Internet still, and provided by a bunch of other Unix systesms, so we include it here for compatibility. Silently agreed by: core
OpenPOWER on IntegriCloud