delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/19/11:13:24

From: "John M. Aldrich" <fighteer AT cs DOT com>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 <unistd.h> 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       |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019