Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
bctoolbox
Commits
8543f298
Commit
8543f298
authored
May 07, 2020
by
johan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop support of polarssl v1.2
parent
59f09951
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
1292 deletions
+1
-1292
cmake/FindPolarSSL.cmake
cmake/FindPolarSSL.cmake
+0
-7
src/CMakeLists.txt
src/CMakeLists.txt
+1
-5
src/crypto/polarssl1.2.c
src/crypto/polarssl1.2.c
+0
-1280
No files found.
cmake/FindPolarSSL.cmake
View file @
8543f298
...
...
@@ -49,13 +49,6 @@ if(POLARSSL_LIBRARIES)
cmake_push_check_state
(
RESET
)
set
(
CMAKE_REQUIRED_INCLUDES
${
POLARSSL_INCLUDE_DIRS
}
)
set
(
CMAKE_REQUIRED_LIBRARIES
${
POLARSSL_LIBRARIES
}
)
check_c_source_compiles
(
"
#include <polarssl/x509_crt.h>
int main(int argc, char *argv[]) {
x509_crt_parse_path(0,0);
return 0;
}"
POLARSSL_VERSION13_OK
)
check_symbol_exists
(
ssl_get_dtls_srtp_protection_profile
"polarssl/ssl.h"
HAVE_SSL_GET_DTLS_SRTP_PROTECTION_PROFILE
)
check_symbol_exists
(
ctr_drbg_free
"polarssl/ctr_drbg.h"
CTR_DRBG_FREE
)
cmake_pop_check_state
()
...
...
src/CMakeLists.txt
View file @
8543f298
...
...
@@ -64,11 +64,7 @@ if(MBEDTLS_FOUND)
list
(
APPEND BCTOOLBOX_C_SOURCE_FILES crypto/mbedtls.c
)
endif
()
if
(
POLARSSL_FOUND
)
if
(
POLARSSL_VERSION13_OK
)
list
(
APPEND BCTOOLBOX_C_SOURCE_FILES crypto/polarssl.c
)
else
()
list
(
APPEND BCTOOLBOX_C_SOURCE_FILES crypto/polarssl1.2.c
)
endif
()
endif
()
if
(
ENABLE_TESTS_COMPONENT
)
set
(
BCTOOLBOX_C_TESTER_SOURCE_FILES tester.c
)
...
...
src/crypto/polarssl1.2.c
deleted
100644 → 0
View file @
59f09951
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment