summaryrefslogtreecommitdiffstats
path: root/PC/config.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-08-24 00:28:21 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-08-24 00:28:21 (GMT)
commit94ac197531fdc7f358e737dec55cd7158cbdd815 (patch)
tree87c3deb0ea528a506de171a85e7e06341572226d /PC/config.c
parent9c1491f37c4884d72b18a0493c757e7c1f5e2814 (diff)
downloadcpython-94ac197531fdc7f358e737dec55cd7158cbdd815.zip
cpython-94ac197531fdc7f358e737dec55cd7158cbdd815.tar.gz
cpython-94ac197531fdc7f358e737dec55cd7158cbdd815.tar.bz2
Update the PC configuration and project files for sha256 and sha512.
Diffstat (limited to 'PC/config.c')
-rw-r--r--PC/config.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/PC/config.c b/PC/config.c
index bd040b0..9ac69e3 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -17,7 +17,7 @@ extern void initgc(void);
extern void initimageop(void);
#endif
extern void initmath(void);
-extern void initmd5(void);
+extern void init_md5(void);
extern void initnt(void);
extern void initoperator(void);
extern void initregex(void);
@@ -25,7 +25,9 @@ extern void initregex(void);
extern void initrgbimg(void);
#endif
extern void initsignal(void);
-extern void initsha(void);
+extern void init_sha(void);
+extern void init_sha256(void);
+extern void init_sha512(void);
extern void initstrop(void);
extern void initstruct(void);
extern void inittime(void);
@@ -86,7 +88,7 @@ struct _inittab _PyImport_Inittab[] = {
{"imageop", initimageop},
#endif
{"math", initmath},
- {"md5", initmd5},
+ {"_md5", init_md5},
{"nt", initnt}, /* Use the NT os functions, not posix */
{"operator", initoperator},
{"regex", initregex},
@@ -94,7 +96,9 @@ struct _inittab _PyImport_Inittab[] = {
{"rgbimg", initrgbimg},
#endif
{"signal", initsignal},
- {"sha", initsha},
+ {"_sha", init_sha},
+ {"_sha256", init_sha256},
+ {"_sha512", init_sha512},
{"strop", initstrop},
{"struct", initstruct},
{"time", inittime},