Skip to content

Commit 461fd58

Browse files
authored
Merge pull request #71 from Patater/remove-non-crypto
Remove non-crypto code
2 parents 5900ed6 + 651ae68 commit 461fd58

File tree

436 files changed

+133
-75276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

436 files changed

+133
-75276
lines changed

CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ else()
55
project("mbed TLS" C)
66
endif()
77

8-
option(USE_PKCS11_HELPER_LIBRARY "Build mbed TLS with the pkcs11-helper library." OFF)
9-
option(ENABLE_ZLIB_SUPPORT "Build mbed TLS with zlib library." OFF)
10-
118
option(ENABLE_PROGRAMS "Build mbed TLS programs." ON)
129

1310
option(UNSAFE_BUILD "Allow unsafe builds. These builds ARE NOT SECURE." OFF)
@@ -170,14 +167,6 @@ endif()
170167
include_directories(include/)
171168
include_directories(library/)
172169

173-
if(ENABLE_ZLIB_SUPPORT)
174-
find_package(ZLIB)
175-
176-
if(ZLIB_FOUND)
177-
include_directories(${ZLIB_INCLUDE_DIR})
178-
endif(ZLIB_FOUND)
179-
endif(ENABLE_ZLIB_SUPPORT)
180-
181170
add_subdirectory(library)
182171
add_subdirectory(include)
183172

ChangeLog

Lines changed: 0 additions & 3312 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ install: no_test
2828
cp -rp include/psa $(DESTDIR)/include
2929

3030
mkdir -p $(DESTDIR)/lib
31-
cp -RP library/libmbedtls.* $(DESTDIR)/lib
32-
cp -RP library/libmbedx509.* $(DESTDIR)/lib
3331
cp -RP library/libmbedcrypto.* $(DESTDIR)/lib
3432

3533
mkdir -p $(DESTDIR)/bin
@@ -43,8 +41,6 @@ install: no_test
4341

4442
uninstall:
4543
rm -rf $(DESTDIR)/include/mbedtls
46-
rm -f $(DESTDIR)/lib/libmbedtls.*
47-
rm -f $(DESTDIR)/lib/libmbedx509.*
4844
rm -f $(DESTDIR)/lib/libmbedcrypto.*
4945

5046
for p in programs/*/* ; do \

configs/README.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
This directory contains example configuration files.
22

33
The examples are generally focused on a particular usage case (eg, support for
4-
a restricted number of ciphersuites) and aim at minimizing resource usage for
5-
this target. They can be used as a basis for custom configurations.
4+
a restricted number of TLS ciphersuites) and aim at minimizing resource usage
5+
for this target. They can be used as a basis for custom configurations.
66

77
These files are complete replacements for the default config.h. To use one of
88
them, you can pick one of the following methods:

configs/config-ccm-psk-tls1_2.h

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)