ssl: Add a missing call to setciphers()

Tue, 05 Jul 2011 18:12:17 -0700

author
Paul Aurich <paul@darkrain42.org>
date
Tue, 05 Jul 2011 18:12:17 -0700
changeset 44
b3a0d23e5b20
parent 43
708d39695790
child 45
5be249c0ae71

ssl: Add a missing call to setciphers()

src/ssl.lua file | annotate | diff | comparison | revisions
--- 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