head	1.2;
access;
symbols
	axtls-base:1.1.1.1 RICH:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2026.10.14.22.35.29;	author agc;	state dead;
branches;
next	1.1;
commitid	wZSuuEeWXNhWPuZG;

1.1
date	2011.09.08.04.26.08;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2011.09.08.04.26.08;	author agc;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Remove the old version of axtls from 2011 - not relevant anymore, and just
wasting space.
@
text
@cgilua.enablesession ()

function pt (tab)
	for i, v in pairs (tab) do
		local vv = v
		if type(v) == "table" then
			vv = ""
			for _i, _v in pairs (v) do
				vv = vv..string.format ("%s = %q, ", _i, _v)
			end
			vv = '{'..vv..'}'
		end
		cgilua.put (string.format ("%s = %s<br>\n", tostring (i), tostring (vv)))
	end
end


if cgi.field then
	if not cgilua.session.data.field then
		cgilua.session.data.field = {}
	end
	table.insert (cgilua.session.data.field, cgi.field)
end
cgilua.htmlheader()
if cgilua.session then
	cgilua.put "cgi = {<br>\n"
	pt (cgi)
	cgilua.put "}<br>\n"
	cgilua.put "cgilua.session.data = {<br>\n"
	pt (cgilua.session.data)
	cgilua.put "}<br>\n"

	cgilua.put [[<form action="]]
	cgilua.put (cgilua.mkurlpath"test_session.lua")
	cgilua.put [[" method="POST">
  field: <input type="text" name="field" value="]]
	cgilua.put (cgi.field or "")
	cgilua.put [["><br>
  <input type="submit"><br>
</form>]]
else
	cgilua.put "Sessions library is not available or not well configured"
end
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of axTLS version 1.4.3 into othersrc.

The axTLS embedded SSL project is a highly configurable client/server
TLSv1 SSL library designed for platforms with small memory
requirements.  It comes with a small HTTP/HTTPS server and additional
test tools.

It is 3-clause BSD-licensed.

The axTLS library has features such as:

+ The TLSv1 SSL client/server protocol
+ No requirement to use any openssl libraries.
+ A choice between AES block (128/256 bit) and RC4 (128 bit) stream ciphers.
+ RSA encryption/decryption with variable sized keys (up to 4096 bits).
+ Certificate chaining and peer authentication.
+ Session resumption, session renegotiation.
+ ASN.1, X.509, PKCS#8, PKCS#12 keys/certificates with DER/PEM encoding.
+ Highly configurable compile time options.
+ Portable across many platforms (written in ANSI C), and has language bindings in C, C#, VB.NET, Java, Perl and Lua.
+ Partial openssl API compatibility (via a wrapper).
+ A very small footprint (around 50-60kB for the library in 'server-only' mode).
+ No dependencies on sockets - can use serial connections for example.
+ A very simple API - ~ 20 functions/methods.

Not supported:

- SSLv2 or SSLv3 (but supports v23 client hello).
- Anonymous or Ephemeral DH.
- DSA or ECC.
- DES/3DES ciphers.
- Key generation (however certificate generation is supported).

See http://axtls.sourceforge.net/ for more information about the project.
@
text
@@
