FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update the PC configuration and project files for sha256 and sha512. · python/cpython@94ac197 · GitHub

/ cpython Public

Commit 94ac197

Browse files
committed
Update the PC configuration and project files for sha256 and sha512.
1 parent 9c1491f commit 94ac197

3 files changed

Lines changed: 70 additions & 4 deletions

File tree

‎PC/VC6/pythoncore.dsp‎

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎PC/config.c‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ extern void initgc(void);
1717
extern void initimageop(void);
1818
#endif
1919
extern void initmath(void);
20-
extern void initmd5(void);
20+
extern void init_md5(void);
2121
extern void initnt(void);
2222
extern void initoperator(void);
2323
extern void initregex(void);
2424
#ifndef MS_WIN64
2525
extern void initrgbimg(void);
2626
#endif
2727
extern void initsignal(void);
28-
extern void initsha(void);
28+
extern void init_sha(void);
29+
extern void init_sha256(void);
30+
extern void init_sha512(void);
2931
extern void initstrop(void);
3032
extern void initstruct(void);
3133
extern void inittime(void);
@@ -86,15 +88,17 @@ struct _inittab _PyImport_Inittab[] = {
8688
{"imageop", initimageop},
8789
#endif
8890
{"math", initmath},
89-
{"md5", initmd5},
91+
{"_md5", init_md5},
9092
{"nt", initnt}, /* Use the NT os functions, not posix */
9193
{"operator", initoperator},
9294
{"regex", initregex},
9395
#ifndef MS_WIN64
9496
{"rgbimg", initrgbimg},
9597
#endif
9698
{"signal", initsignal},
97-
{"sha", initsha},
99+
{"_sha", init_sha},
100+
{"_sha256", init_sha256},
101+
{"_sha512", init_sha512},
98102
{"strop", initstrop},
99103
{"struct", initstruct},
100104
{"time", inittime},

‎PCbuild/pythoncore.vcproj‎

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2763,6 +2763,60 @@
27632763
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
27642764
</FileConfiguration>
27652765
</File>
2766+
<File
2767+
RelativePath="..\Modules\shamodule256.c">
2768+
<FileConfiguration
2769+
Name="Release|Win32">
2770+
<Tool
2771+
Name="VCCLCompilerTool"
2772+
Optimization="2"
2773+
AdditionalIncludeDirectories=""
2774+
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
2775+
</FileConfiguration>
2776+
<FileConfiguration
2777+
Name="Debug|Win32">
2778+
<Tool
2779+
Name="VCCLCompilerTool"
2780+
Optimization="0"
2781+
AdditionalIncludeDirectories=""
2782+
PreprocessorDefinitions="_DEBUG;USE_DL_EXPORT;WIN32;_WINDOWS;$(NoInherit)"/>
2783+
</FileConfiguration>
2784+
<FileConfiguration
2785+
Name="ReleaseItanium|Win32">
2786+
<Tool
2787+
Name="VCCLCompilerTool"
2788+
Optimization="2"
2789+
AdditionalIncludeDirectories=""
2790+
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
2791+
</FileConfiguration>
2792+
</File>
2793+
<File
2794+
RelativePath="..\Modules\shamodule512.c">
2795+
<FileConfiguration
2796+
Name="Release|Win32">
2797+
<Tool
2798+
Name="VCCLCompilerTool"
2799+
Optimization="2"
2800+
AdditionalIncludeDirectories=""
2801+
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
2802+
</FileConfiguration>
2803+
<FileConfiguration
2804+
Name="Debug|Win32">
2805+
<Tool
2806+
Name="VCCLCompilerTool"
2807+
Optimization="0"
2808+
AdditionalIncludeDirectories=""
2809+
PreprocessorDefinitions="_DEBUG;USE_DL_EXPORT;WIN32;_WINDOWS;$(NoInherit)"/>
2810+
</FileConfiguration>
2811+
<FileConfiguration
2812+
Name="ReleaseItanium|Win32">
2813+
<Tool
2814+
Name="VCCLCompilerTool"
2815+
Optimization="2"
2816+
AdditionalIncludeDirectories=""
2817+
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT;$(NoInherit)"/>
2818+
</FileConfiguration>
2819+
</File>
27662820
<File
27672821
RelativePath="..\Modules\signalmodule.c">
27682822
<FileConfiguration

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL