Skip to content

Commit 7cdad4c

Browse files
committed
Move base64.cpp to third_party/ directory
1 parent 8e9006c commit 7cdad4c

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project (cryptolens)
44
set (CRYPTOLENS_BUILD_TESTS OFF CACHE BOOL "build tests?")
55
set (CRYPTOLENS_CURL_EMBED_CACERTS OFF CACHE BOOL "embed the ca certs in the library instead of using system default files?")
66

7-
set (SRC "src/ActivateError.cpp" "src/DataObject.cpp" "src/LicenseKey.cpp" "src/LicenseKeyChecker.cpp" "src/LicenseKeyInformation.cpp" "src/MachineCodeComputer_static.cpp" "src/base64.cpp" "src/basic_Cryptolens.cpp")
7+
set (SRC "src/basic_Cryptolens.cpp" "src/ActivateError.cpp" "src/DataObject.cpp" "src/LicenseKey.cpp" "src/LicenseKeyChecker.cpp" "src/LicenseKeyInformation.cpp" "src/MachineCodeComputer_static.cpp" "third_party/base64_OpenBSD/base64.cpp")
88
set (LIBS "")
99

1010
find_package(OpenSSL)

examples/unix/static_docker/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ project (cryptolens)
33

44
set (CRYPTOLENS_CURL_EMBED_CACERTS OFF CACHE BOOL "embed the ca certs in the library instead of using curl defaults?")
55

6-
set (SRC "../../../src/ActivateError.cpp" "../../../src/DataObject.cpp" "../../../src/LicenseKey.cpp" "../../../src/LicenseKeyChecker.cpp" "../../../src/LicenseKeyInformation.cpp" "../../../src/MachineCodeComputer_static.cpp" "../../../src/base64.cpp" "../../../src/basic_Cryptolens.cpp")
6+
set (SRC "../../../src/ActivateError.cpp" "../../../src/DataObject.cpp" "../../../src/LicenseKey.cpp" "../../../src/LicenseKeyChecker.cpp" "../../../src/LicenseKeyInformation.cpp" "../../../src/MachineCodeComputer_static.cpp" "../../../src/basic_Cryptolens.cpp" "../../../third_party/base64_OpenBSD/base64.cpp")
77
set (SRC ${SRC} "../../../src/SignatureVerifier_OpenSSL.cpp")
88
set (SRC ${SRC} "../../../src/RequestHandler_curl.cpp")
99

examples/unix/static_docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ RUN mkdir -p /home/builder/cryptolens-cpp/examples/unix/static_docker/cc \
3737
&& export CRYPTOLENS_ROOT="/home/builder/cryptolens-cpp" \
3838
&& g++ -c \
3939
-I "$CRYPTOLENS_ROOT/include/cryptolens" \
40+
"$CRYPTOLENS_ROOT/src/basic_Cryptolens.cpp" \
4041
"$CRYPTOLENS_ROOT/src/ActivateError.cpp" \
4142
"$CRYPTOLENS_ROOT/src/DataObject.cpp" \
4243
"$CRYPTOLENS_ROOT/src/LicenseKey.cpp" \
4344
"$CRYPTOLENS_ROOT/src/LicenseKeyChecker.cpp" \
4445
"$CRYPTOLENS_ROOT/src/LicenseKeyInformation.cpp" \
45-
"$CRYPTOLENS_ROOT/src/base64.cpp" \
46-
"$CRYPTOLENS_ROOT/src/basic_Cryptolens.cpp" \
46+
"$CRYPTOLENS_ROOT/third_party/base64_OpenBSD/base64.cpp" \
4747
&& g++ -c \
4848
-I "$SSL_ROOT/include" \
4949
-I "$CURL_ROOT/include" \

vsprojects/Cryptolens.vcxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@
161161
</ItemDefinitionGroup>
162162
<ItemGroup>
163163
<ClCompile Include="..\src\ActivateError.cpp" />
164-
<ClCompile Include="..\src\base64.cpp" />
165164
<ClCompile Include="..\src\basic_Cryptolens.cpp" />
166165
<ClCompile Include="..\src\DataObject.cpp" />
167166
<ClCompile Include="..\src\LicenseKey.cpp" />
@@ -171,12 +170,12 @@
171170
<ClCompile Include="..\src\MachineCodeComputer_static.cpp" />
172171
<ClCompile Include="..\src\RequestHandler_WinHTTP.cpp" />
173172
<ClCompile Include="..\src\SignatureVerifier_CryptoAPI.cpp" />
173+
<ClCompile Include="..\third_party\base64_OpenBSD\base64.cpp" />
174174
</ItemGroup>
175175
<ItemGroup>
176176
<ClInclude Include="..\include\cryptolens\ActivateError.hpp" />
177177
<ClInclude Include="..\include\cryptolens\ActivationData.hpp" />
178178
<ClInclude Include="..\include\cryptolens\api.hpp" />
179-
<ClInclude Include="..\include\cryptolens\base64.hpp" />
180179
<ClInclude Include="..\include\cryptolens\basic_Error.hpp" />
181180
<ClInclude Include="..\include\cryptolens\basic_Cryptolens.hpp" />
182181
<ClInclude Include="..\include\cryptolens\Configuration_Windows.hpp" />
@@ -191,9 +190,10 @@
191190
<ClInclude Include="..\include\cryptolens\RawLicenseKey.hpp" />
192191
<ClInclude Include="..\include\cryptolens\RequestHandler_curl.hpp" />
193192
<ClInclude Include="..\include\cryptolens\RequestHandler_WinHTTP.hpp" />
193+
<ClInclude Include="..\include\cryptolens\base64.hpp" />
194194
<ClInclude Include="..\include\cryptolens\SignatureVerifier_CryptoAPI.hpp" />
195195
</ItemGroup>
196196
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
197197
<ImportGroup Label="ExtensionTargets">
198198
</ImportGroup>
199-
</Project>
199+
</Project>

0 commit comments

Comments
 (0)