History log of /freebsd-10-stable/usr.bin/enigma/enigma.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 231994 22-Feb-2012 kevlo

Handle NULL return from crypt(3). Mostly from DragonFly


# 227237 06-Nov-2011 ed

Mark global functions and/or variables in enigma(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.


# 160681 25-Jul-2006 jkim

Fix 32-bit integer math on 64-bit processor. Just use int32_t(!) instead
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 >


# 120935 09-Oct-2003 tjr

Call crypt() directly instead of taking a detour through makekey.


# 102944 04-Sep-2002 dwmalone

ANSIify function definitions.
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


# 99112 30-Jun-2002 obrien

Consistently use FBSDID


# 79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


# 78781 25-Jun-2001 dd

Silence -Wshadow and -Wmissing-prototypes; set WARNS=2.

Submitted by: Mike Barcroft <mike@q9media.com>


# 78310 15-Jun-2001 eric

Remove unwanted CFLAGS, and add a CVS id.


# 40769 30-Oct-1998 joerg

Fix some of the more blatant bugs in the original code, provide a
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.


# 40768 30-Oct-1998 joerg

This commit was generated by cvs2svn to compensate for changes in r40767,
which included commits to RCS files with non-trunk default branches.


# 40767 30-Oct-1998 joerg

This is enigma, aka. crypt(1). It has suppsedly been taken from
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