forked from nanomsg/nng
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
25 changed files
with
1,988 additions
and
1,252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "extern/nng-wolfssl"] | ||
path = extern/nng-wolfssl | ||
url = https://github.com/staysail/nng-wolfssl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License | ||
|
||
Copyright 2018 Staysail Systems, Inc. <[email protected]> | ||
Copyright 2020 Staysail Systems, Inc. <[email protected]> | ||
Copyright 2018 Capitar IT Group BV <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Copyright 2017 Garrett D'Amore <[email protected]> | ||
# Copyright 2020 Staysail Systems, Inc. <[email protected]> | ||
# Copyright 2017 Capitar IT Group BV <[email protected]> | ||
# | ||
# 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) | ||
|
Submodule nng-wolfssl
added at
428fd4
Oops, something went wrong.