History log of /freebsd-current/usr.bin/enigma/enigma.c
Revision Date Author Comments
# 5e3934b1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 7ed10945 09-May-2018 Eitan Adler <eadler@FreeBSD.org>

enigma(1) Remove reference to PGP; modernize a bit

- the port was removed 2017-06-07 in r442847
- gnupg1 is the older version of gpg with legacy PGP support
- remove unused macro
- remove now-false statement about export restrictions


# 3b557094 25-Feb-2015 Xin LI <delphij@FreeBSD.org>

Explicitly crypt_set_format("des") and bail out if we
can't. This would prevent problem when we changed the
default crypt(3) algorithm or removed it in the future.

PR: bin/189958
MFC after: 1 month


# 29dcf726 21-Feb-2012 Kevin Lo <kevlo@FreeBSD.org>

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


# 43ad4b45 06-Nov-2011 Ed Schouten <ed@FreeBSD.org>

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

This allows compilers and static analyzers to more thorough analysis.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 93e3b716 25-Jul-2006 Jung-uk Kim <jkim@FreeBSD.org>

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 >


# d684457f 09-Oct-2003 Tim J. Robbins <tjr@FreeBSD.org>

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


# f4ac32de 04-Sep-2002 David Malone <dwmalone@FreeBSD.org>

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


# e026a48c 29-Jun-2002 David E. O'Brien <obrien@FreeBSD.org>

Consistently use FBSDID


# 7bc6d015 09-Jul-2001 Brian Somers <brian@FreeBSD.org>

Fix the type of the NULL arg to execl()

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


# 461ce74a 25-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

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

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


# a70bac9d 15-Jun-2001 Eric Melville <eric@FreeBSD.org>

Remove unwanted CFLAGS, and add a CVS id.


# 5dc67cd7 30-Oct-1998 Joerg Wunsch <joerg@FreeBSD.org>

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.


# 13e21a9d 30-Oct-1998 Joerg Wunsch <joerg@FreeBSD.org>

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