From 5a484efe8c72a929382c96555a31129f8d2a55c8 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 21 Nov 2021 15:55:52 -0800 Subject: https now working! Still extremely ugly: - I've inlined all the namespaces under ssl, so you need to know that context and config are related to ssl. - luasec comes with its own copy of luasocket. I haven't deduped that yet. --- src/luasec/ec.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/luasec/ec.h (limited to 'src/luasec/ec.h') diff --git a/src/luasec/ec.h b/src/luasec/ec.h new file mode 100644 index 0000000..b37fa7f --- /dev/null +++ b/src/luasec/ec.h @@ -0,0 +1,22 @@ +/*-------------------------------------------------------------------------- + * LuaSec 1.0.2 + * + * Copyright (C) 2006-2021 Bruno Silvestre + * + *--------------------------------------------------------------------------*/ + +#ifndef LSEC_EC_H +#define LSEC_EC_H + +#include "../lua.h" + +#ifndef OPENSSL_NO_EC +#include + +EC_KEY *lsec_find_ec_key(lua_State *L, const char *str); +#endif + +void lsec_get_curves(lua_State *L); +void lsec_load_curves(lua_State *L); + +#endif -- cgit 1.4.1-2-gfad0 bs'> about summary refs log blame commit diff stats