mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
umurmur: Update to lastest version. Replace PolarSSL with mbed TLS
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/src/ssl.h
|
||||
+++ b/src/ssl.h
|
||||
@@ -90,7 +90,7 @@ typedef ssl_context SSL_handle_t;
|
||||
|
||||
#elif defined(USE_MBEDTLS)
|
||||
#include <mbedtls/ssl.h>
|
||||
-#include <mbedtls/net.h>
|
||||
+#include <mbedtls/net_sockets.h>
|
||||
#include <mbedtls/version.h>
|
||||
|
||||
#if defined(MBEDTLS_VERSION_MAJOR)
|
||||
@@ -1,17 +0,0 @@
|
||||
diff --git a/src/ssli_polarssl.c b/src/ssli_polarssl.c
|
||||
index a36ccb6..167637b 100644
|
||||
--- a/src/ssli_polarssl.c
|
||||
+++ b/src/ssli_polarssl.c
|
||||
@@ -225,8 +225,12 @@ void SSLi_init(void)
|
||||
Log_fatal("Cannot open /dev/urandom");
|
||||
#endif
|
||||
|
||||
+#ifdef POLARSSL_VERSION_FEATURES
|
||||
version_get_string(verstring);
|
||||
Log_info("PolarSSL library version %s initialized", verstring);
|
||||
+#else
|
||||
+ Log_info("PolarSSL library initialized");
|
||||
+#endif
|
||||
}
|
||||
|
||||
void SSLi_deinit(void)
|
||||
Reference in New Issue
Block a user