src/ssl.lua

changeset 44
b3a0d23e5b20
parent 28
8c61b29d87ec
--- a/src/ssl.lua	Sun Jul 03 13:13:36 2011 -0700
+++ b/src/ssl.lua	Tue Jul 05 18:12:17 2011 -0700
@@ -68,6 +68,9 @@
    -- Set SSL options
    succ, msg = optexec(context.setoptions, cfg.options, ctx)
    if not succ then return nil, msg end
+   -- Set SSL ciphers
+   succ, msg = optexec(context.setcipher, cfg.ciphers, ctx)
+   if not succ then return nil, msg end
    -- Set the depth for certificate verification
    if cfg.depth then
       succ, msg = context.setdepth(ctx, cfg.depth)

mercurial