Simplify CryptoSSLRequestManager using unified futures API
authorAnirudh Ramachandran <avr@fb.com>
Mon, 2 May 2016 16:12:01 +0000 (09:12 -0700)
committerFacebook Github Bot 5 <facebook-github-bot-5-bot@fb.com>
Mon, 2 May 2016 16:20:21 +0000 (09:20 -0700)
commitad8a8cb578822886334c3fb38141a2419f4bed1a
tree1aedb88628426d0ba8118967ba772206c1f75d1f
parent7dd60842ca7b3ca266db5dfcf31e99b3adbfbe17
Simplify CryptoSSLRequestManager using unified futures API

Summary:
This diff unifies the nearly-replicated call paths for ECDSA and RSA
sign request/response/fallback/etc. into one generic futures-based sign API.
Once this is tested, we should be able to remove ~500 lines of code from
CryptoSSLRequestManager

Depends on D3094660

Reviewed By: siyengar

Differential Revision: D3116535

fb-gh-sync-id: 11c50d81dab39e5426679b5a172c1ece2039fc10
fbshipit-source-id: 11c50d81dab39e5426679b5a172c1ece2039fc10
folly/io/async/ssl/OpenSSLPtrTypes.h