summaryrefslogtreecommitdiffstats
path: root/src/vnet/tls/tls.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-02-07 15:34:52 -0800
committerDamjan Marion <dmarion@me.com>2019-02-09 16:17:32 +0000
commit54a51fd5869c3451096e6512a927ff864855a24f (patch)
tree3b86847fbd37bb9be0d6e4b50c4e52e18f0e9cda /src/vnet/tls/tls.h
parentc9940fc20bf248ba10dad10108415219f0f8360f (diff)
tls: move test certificates to separate header file
Change-Id: I543cb78e268d7a4a7fba590d305351ec79f4e4da Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tls/tls.h')
-rw-r--r--src/vnet/tls/tls.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/vnet/tls/tls.h b/src/vnet/tls/tls.h
index 83daa426bf1..5ddce9ae56c 100644
--- a/src/vnet/tls/tls.h
+++ b/src/vnet/tls/tls.h
@@ -13,7 +13,6 @@
* limitations under the License.
*/
-
#include <vnet/session/application_interface.h>
#include <vnet/session/session.h>
#include <vppinfra/lock.h>
@@ -109,14 +108,6 @@ typedef struct tls_engine_vft_
int (*ctx_stop_listen) (tls_ctx_t * ctx);
} tls_engine_vft_t;
-typedef enum tls_engine_type_
-{
- TLS_ENGINE_NONE,
- TLS_ENGINE_MBEDTLS,
- TLS_ENGINE_OPENSSL,
- TLS_N_ENGINES
-} tls_engine_type_t;
-
tls_main_t *vnet_tls_get_main (void);
void tls_register_engine (const tls_engine_vft_t * vft,
tls_engine_type_t type);
@@ -128,6 +119,7 @@ int tls_notify_app_accept (tls_ctx_t * ctx);
int tls_notify_app_connected (tls_ctx_t * ctx, u8 is_failed);
void tls_notify_app_enqueue (tls_ctx_t * ctx, session_t * app_session);
#endif /* SRC_VNET_TLS_TLS_H_ */
+
/*
* fd.io coding-style-patch-verification: ON
*