summaryrefslogtreecommitdiffstats
path: root/Modules/rotormodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-01-21 16:07:51 (GMT)
committerGuido van Rossum <guido@python.org>1993-01-21 16:07:51 (GMT)
commit0b0db8e3a07c92786fde60bf53bd1d5aa32e0aae (patch)
tree8750daf2aeb5be8cdb034755f883c1c3557ea809 /Modules/rotormodule.c
parent80530ce8754956c8d5349d4644dc83113a63cfc1 (diff)
downloadcpython-0b0db8e3a07c92786fde60bf53bd1d5aa32e0aae.zip
cpython-0b0db8e3a07c92786fde60bf53bd1d5aa32e0aae.tar.gz
cpython-0b0db8e3a07c92786fde60bf53bd1d5aa32e0aae.tar.bz2
Added separate main program for the Mac: macmain.c
stdwinmodule.c: wsetfont can now return an error Makefile: add CL_USE and CL_LIB*S; config.c: move CL part around New things in imgfile; also in Makefile. longobject.c: fix comparison of negative long ints... [REAL BUG!] marshal.c: add dumps() and loads() to read/write strings timemodule.c: make sure there's always a floatsleep() posixmodule.c: rationalize struct returned by times() Makefile: add test target, disable imgfile by default thread.c: Improved coexistance with dl module (sjoerd) stdwinmodule.c: Change include stdwin.h if macintosh rotormodule.c: added missing last argument to RTR_?_region calls confic.c: merged with configmac.c, added 1993 to copyright message fileobject.c: int compared to NULL in writestring(); change fopenRF ifdef timemodule.c: simplify times() using mkvalue; include myselect.h earlier (for sequent). posixmodule: for sequent, include unistd.h instead of explicit extern definitions and don't define rename() Makefile: change misleading/wrong MD5 comments
Diffstat (limited to 'Modules/rotormodule.c')
-rw-r--r--Modules/rotormodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c
index e8fec07..f16acd0 100644
--- a/Modules/rotormodule.c
+++ b/Modules/rotormodule.c
@@ -590,7 +590,7 @@ static void encrypt_region(r, region, len)
unsigned char *region;
int len;
{
- RTR_e_region(r,region,len);
+ RTR_e_region(r,region,len,TRUE);
}
/*(defun decrypt-region (beg end key)
@@ -602,7 +602,7 @@ static void decrypt_region(r, region, len)
unsigned char *region;
int len;
{
- RTR_d_region(r,region,len);
+ RTR_d_region(r,region,len,TRUE);
}
/* Rotor methods */