head 1.1; branch 1.1.1; access ; symbols axtls-base:1.1.1.1 RICH:1.1.1; locks ; strict; comment @# @; 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.1 log @Initial revision @ text @function link_dir (dir, base) local path = base.."/"..dir local mode = lfs.attributes (path).mode if mode == "directory" then return string.format ('%s', cgilua.mkurlpath ("test_fs.lua", { dir = path }), dir) else return dir end end cgilua.htmlheader () cgilua.put ("

Testing Filesystem library

\n") cgilua.put ("\n") cgilua.put ("\n") local i = 0 local dir = cgi.dir or "." for file in lfs.dir (dir) do i = i+1 cgilua.put ("\n") end cgilua.put ("
Testing dir
"..i..""..link_dir(file, dir).."
\n") @ 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 @@