Skip to content

Commit

Permalink
last fixes for v1.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rhash committed Jun 15, 2011
1 parent 8efee09 commit 3090de1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Tue Jun 14 2011 Aleksey
Thu Jun 16 2011 Aleksey
* === Version 1.2.6 ===

Sat Jun 11 2011 Aleksey
Expand Down
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RPM package can be created by commands
'make rpm' or 'setarch i586 make rpm'.

To compile with openssl support use the following flags
make ADDCFLAGS="-DUSE_OPENSSL -rdynamic" ADDLDFLAGS=-ldl
make ADDCFLAGS="-DUSE_OPENSSL -DOPENSSL_RUNTIME -rdynamic" ADDLDFLAGS="-ldl"

The LibRHash library can be compiled using
'make lib-static' or 'make lib-shared'
Expand Down
2 changes: 1 addition & 1 deletion librhash/config.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* config.h */
#define OPENSSL_RUNTIME
/*#define OPENSSL_RUNTIME*/
2 changes: 1 addition & 1 deletion librhash/plug_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ OS_METHOD(WHIRLPOOL);
#define HASH_INFO_METHODS(name) 0, 0, wrap##name##_Final, 0
#else /* non-runtime linking */
#define CALL_FINAL(name, result, ctx) name##_Final(result, ctx)
#define HASH_INFO_METHODS(name) (pinit_t)name##_Init, (pupdate_t)name##_Update, wrap##name##_fin, 0
#define HASH_INFO_METHODS(name) (pinit_t)name##_Init, (pupdate_t)name##_Update, wrap##name##_Final, 0
#endif


Expand Down
2 changes: 1 addition & 1 deletion rhash.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Program features:
%setup

%build
make OPTFLAGS="$RPM_OPT_FLAGS -DNDEBUG" ADDCFLAGS="-DUSE_OPENSSL -rdynamic" ADDLDFLAGS=-ldl
make OPTFLAGS="$RPM_OPT_FLAGS -DNDEBUG" ADDCFLAGS="-DUSE_OPENSSL -DOPENSSL_RUNTIME -rdynamic" ADDLDFLAGS=-ldl all test

%install
rm -rf "$RPM_BUILD_ROOT"
Expand Down
8 changes: 4 additions & 4 deletions win32/vc-2010/rhash.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\librhash;..\..\win32;..\..\ssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;OPENSSL_RUNTIME;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
Expand All @@ -129,7 +129,7 @@
<ClCompile>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>..\..\librhash;..\..\win32;..\..\ssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;OPENSSL_RUNTIME;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
Expand All @@ -154,7 +154,7 @@
<ClCompile>
<Optimization>Full</Optimization>
<AdditionalIncludeDirectories>..\..\librhash;..\..\win32;..\..\ssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;OPENSSL_RUNTIME;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand Down Expand Up @@ -186,7 +186,7 @@
<ClCompile>
<Optimization>Full</Optimization>
<AdditionalIncludeDirectories>..\..\librhash;..\..\win32;..\..\ssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>IN_RHASH;USE_OPENSSL;OPENSSL_RUNTIME;_CONSOLE;_CRT_SECURE_NO_DEPRECATE;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
Expand Down

0 comments on commit 3090de1

Please sign in to comment.