summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/config.c4
-rw-r--r--PCbuild/pythoncore.vcproj12
-rw-r--r--PCbuild8/pythoncore/pythoncore.vcproj20
3 files changed, 33 insertions, 3 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},
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index 063c0ce..19cd833 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -442,9 +442,9 @@
<File
RelativePath="..\Objects\bytes_methods.c">
</File>
- <File
- RelativePath="..\Objects\bytesobject.c">
- </File>
+ <File
+ RelativePath="..\Objects\bytesobject.c">
+ </File>
<File
RelativePath="..\Objects\cellobject.c">
</File>
@@ -632,6 +632,9 @@
RelativePath="..\Objects\methodobject.c">
</File>
<File
+ RelativePath="..\Modules\md5module.c">
+ </File>
+ <File
RelativePath="..\Modules\mmapmodule.c">
</File>
<File
@@ -716,6 +719,9 @@
RelativePath="..\Objects\setobject.c">
</File>
<File
+ RelativePath="..\Modules\sha1module.c">
+ </File>
+ <File
RelativePath="..\Modules\sha256module.c">
</File>
<File
diff --git a/PCbuild8/pythoncore/pythoncore.vcproj b/PCbuild8/pythoncore/pythoncore.vcproj
index f11f57e..7e36945 100644
--- a/PCbuild8/pythoncore/pythoncore.vcproj
+++ b/PCbuild8/pythoncore/pythoncore.vcproj
@@ -788,6 +788,10 @@
>
</File>
<File
+ RelativePath="..\..\Objects\bytes_methods.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Objects\bytesobject.c"
>
</File>
@@ -974,6 +978,14 @@
>
</File>
<File
+ RelativePath="..\..\Include\bytes_methods.h"
+ >
+ </File>
+ <File
+ RelativePath="..\..\Include\bytesobject.h"
+ >
+ </File>
+ <File
RelativePath="..\..\Include\cellobject.h"
>
</File>
@@ -1490,6 +1502,10 @@
>
</File>
<File
+ RelativePath="..\..\Modules\md5module.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Modules\mmapmodule.c"
>
</File>
@@ -1514,6 +1530,10 @@
>
</File>
<File
+ RelativePath="..\..\Modules\sha1module.c"
+ >
+ </File>
+ <File
RelativePath="..\..\Modules\sha256module.c"
>
</File>