From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: crypt? Date: Wed, 18 Feb 1998 20:52:36 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 22 Message-ID: <34EB9064.7612@cs.com> References: <34EA8B07 DOT CB080E3C AT erols DOT com> NNTP-Posting-Host: ppp227.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alex Verstak wrote: > > Is there any crypt port to DOS? I tried to compile enigma under DJGPP, > but > char * crypt(char *, char *); > which should be in is not there. And strange enough, I could > not find pdcrypt sources on the net. :-( Did anyone implement crypt() > for DJGPP? There is a legal issue with use of crypt() in MSDOS programs, because of Federal restrictions on exportation of strong encryption software. I think this is the reason why crypt() was left out of DJGPP v2.x. This question was asked before, and the response was to steal a copy of crypt() from some other compiler. -- --------------------------------------------------------------------- | John M. Aldrich | "Be wary of strong drink. It can | | aka Fighteer I | make you shoot at tax collectors-- | | mailto:fighteer AT cs DOT com | and miss." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------