summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-22 22:18:51 (GMT)
committerGuido van Rossum <guido@python.org>2007-10-22 22:18:51 (GMT)
commitb98dd2e5d2133b1c8cebd1dd221cf69eefeb154f (patch)
treec62cf3d069b86746a33b07add05d46f3ae517037 /PC/config.c
parent4043001f5d84d4919781e34221449047d0690ac8 (diff)
downloadcpython-b98dd2e5d2133b1c8cebd1dd221cf69eefeb154f.zip
cpython-b98dd2e5d2133b1c8cebd1dd221cf69eefeb154f.tar.gz
cpython-b98dd2e5d2133b1c8cebd1dd221cf69eefeb154f.tar.bz2
Patch 1304, by Amaury Forgeot d'Arc.
Add md5module.c and sha1module.c to the project files, and in some cases bytes_methods.c and related .h files.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/PC/config.c b/PC/config.c
index c74b2e4..63ff2c0 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -14,9 +14,11 @@ extern void initcmath(void);
extern void initerrno(void);
extern void initgc(void);
extern void initmath(void);
+extern void init_md5(void);
extern void initnt(void);
extern void initoperator(void);
extern void initsignal(void);
+extern void init_sha1(void);
extern void init_sha256(void);
extern void init_sha512(void);
extern void inittime(void);
@@ -83,6 +85,8 @@ struct _inittab _PyImport_Inittab[] = {
{"nt", initnt}, /* Use the NT os functions, not posix */
{"operator", initoperator},
{"signal", initsignal},
+ {"_md5", init_md5},
+ {"_sha1", init_sha1},
{"_sha256", init_sha256},
{"_sha512", init_sha512},
{"time", inittime},