diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-02-08 12:46:47 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-02-23 17:06:58 -0800 |
| commit | ee0b44406d2b658886760ea08c0af12781ab7e3a (patch) | |
| tree | 674d2d31df7a62c367c161261c942e96f7909166 /cmake | |
| parent | 56bcc0310c4710bb21802719566926c2ccd2262a (diff) | |
| download | nng-ee0b44406d2b658886760ea08c0af12781ab7e3a.tar.gz nng-ee0b44406d2b658886760ea08c0af12781ab7e3a.tar.bz2 nng-ee0b44406d2b658886760ea08c0af12781ab7e3a.zip | |
fixes #1005 TLS 1.3 support
This introduces support for an external wolfSSL plugin, and generally
creates the framework for pluggable TLS implementations.
The wolfSSL engine is provided via an external module (git submodule),
available either under a GPLv3 license or a commercial license.
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/FindmbedTLS.cmake | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cmake/FindmbedTLS.cmake b/cmake/FindmbedTLS.cmake index e0c0aa5a..8c25ec9c 100644 --- a/cmake/FindmbedTLS.cmake +++ b/cmake/FindmbedTLS.cmake @@ -1,5 +1,5 @@ # -# Copyright 2017 Garrett D'Amore <garrett@damore.org> +# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> # Copyright 2017 Capitar IT Group BV <info@capitar.com> # # This software is supplied under the terms of the MIT License, a @@ -9,21 +9,21 @@ # # -# Try to find the mbed TLS libraries. +# Try to find the Mbed TLS libraries. # # Sets the following: # -# MBEDTLS_INCLUDE_DIR - Where to find ssl.h, etc. -# MBEDTLS_FOUND - True if we found mbedtls. +# MBEDTLS_INCLUDE_DIR - Where to find mbedtls/ssl.h, etc. +# MBEDTLS_FOUND - True if we found Mbed TLS. # MBEDTLS_CRYPTO_LIBRARY - The mbedcrypto library. # MBEDTLS_X509_LIBRARY - The mbedx509 library. # MBEDTLS_TLS_LIBRARY - The mbedtls library. -# MBEDTLS_LIBRARIES - List of all three mbedtls libraries. +# MBEDTLS_LIBRARIES - List of all three Mbed TLS libraries. # MBEDTLS_VERSION - $major.$minor.$revision (e.g. ``2.6.0``). # # Hints: # -# Set ``MBEDTLS_ROOT_DIR`` to the root directory of mbed TLS installation. +# Set ``MBEDTLS_ROOT_DIR`` to the root directory of Mbed TLS installation. # set(_MBEDTLS_ROOT_HINTS ${MBEDTLS_ROOT_DIR} ENV MBEDTLS_ROOT_DIR) @@ -60,12 +60,12 @@ set(MBEDTLS_LIBRARIES ${MBEDTLS_CRYPTO_LIBRARY}) if (${MBEDTLS_TLS_LIBRARY-NOTFOUND}) - message(FATAL_ERROR "Failed to find mbed TLS library") + message(FATAL_ERROR "Failed to find Mbed TLS library") endif() mark_as_advanced( MBEDSSL_INCLUDE_DIR - MBEDTLS_LIBRRIES + MBEDTLS_LIBRARIES MBEDTLS_CRYPTO_LIBRARY MBEDTLS_X509_LIBRARY MBEDTLS_TLS_LIBRARY) |
