Functions to set common ciphers and sig algs for SSLContext.
authorXiangyu Bu <xbu@fb.com>
Tue, 18 Jul 2017 19:27:32 +0000 (12:27 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 18 Jul 2017 19:39:31 +0000 (12:39 -0700)
commit99b781dfa607bc261ac7a009d6b278edb9d00e23
tree82cbb45bf36e91be9f6a20ff2573bb096dff83f9
parent4fb9440e9558fed4d1a28e8b218a7449d5a3f6b6
Functions to set common ciphers and sig algs for SSLContext.

Summary:
This diff contains some helper functions that set a `SSLContext` object with recommended
lists of ciphers and signature algorithms for given scenarios. In addition, DES and CHACHA are removed from the cipher list.

Reviewed By: yfeldblum

Differential Revision: D5373599

fbshipit-source-id: 04de11fe90cac734caa12a80e56f70532803f94e
folly/io/async/SSLOptions.cpp [new file with mode: 0644]
folly/io/async/SSLOptions.h [new file with mode: 0644]
folly/io/async/test/SSLOptionsTest.cpp [new file with mode: 0644]