summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/VC6/pythoncore.dsp8
-rw-r--r--PC/config.c12
-rw-r--r--PCbuild/pythoncore.vcproj54
3 files changed, 70 insertions, 4 deletions
diff --git a/PC/VC6/pythoncore.dsp b/PC/VC6/pythoncore.dsp
index 8fbb998..f71b7c2 100644
--- a/PC/VC6/pythoncore.dsp
+++ b/PC/VC6/pythoncore.dsp
@@ -539,6 +539,14 @@ SOURCE=..\..\Modules\shamodule.c
# End Source File
# Begin Source File
+SOURCE=..\..\Modules\sha256module.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\Modules\sha512module.c
+# End Source File
+# Begin Source File
+
SOURCE=..\..\Modules\signalmodule.c
# End Source File
# Begin Source File
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},
diff --git a/PCbuild/pythoncore.vcproj b/PCbuild/pythoncore.vcproj
index 3d8aaf2..652d312 100644
--- a/PCbuild/pythoncore.vcproj
+++ b/PCbuild/pythoncore.vcproj
@@ -2764,6 +2764,60 @@
</FileConfiguration>
</File>
<File
+ RelativePath="..\Modules\shamodule256.c">
+ <FileConfiguration
+ Name="Release|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories=""
+ PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories=""
+ PreprocessorDefinitions="_DEBUG;USE_DL_EXPORT;WIN32;_WINDOWS;$(NoInherit)"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="ReleaseItanium|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories=""
+ PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath="..\Modules\shamodule512.c">
+ <FileConfiguration
+ Name="Release|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories=""
+ PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Debug|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories=""
+ PreprocessorDefinitions="_DEBUG;USE_DL_EXPORT;WIN32;_WINDOWS;$(NoInherit)"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="ReleaseItanium|Win32">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ AdditionalIncludeDirectories=""
+ PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
+ </FileConfiguration>
+ </File>
+ <File
RelativePath="..\Modules\signalmodule.c">
<FileConfiguration
Name="Release|Win32">