tls session ticket patch

Hi ,

I wrote tls session ticket patch (like nginx).
and tls cipher patch.
https://github.com/mimuret/unbound-session-ticket-keys

When activate TLS session ticket, the QPS performance is approximately doubled.

Fun DoT !

Hi Manabu,

Thank you very much for the patches, I have integrated them into the
unbound code.

Best regards, Wouter

Great stuff!

The believe the patch had a typo which made set_cyphersuite available for pretty much all OpenSSL versions.

#if OPENSSL_VERSION_NUMBER >= 0x1010101

Should most likely be something along

#if OPENSSL_VERSION_NUMBER >= 0x10101010

Note the extra 0.
I believe this is what Wouter attempted to work around with
https://github.com/NLnetLabs/unbound/commit/4e59c8344fb576e488b344f813bbc40121ba6cd8

Manu