Adding std::unique_ptr definition for the ASN1_TIME type.
authorSaurabh Singh <singhsrb@fb.com>
Thu, 14 Jul 2016 23:51:10 +0000 (16:51 -0700)
committerFacebook Github Bot 8 <facebook-github-bot-8-bot@fb.com>
Thu, 14 Jul 2016 23:53:24 +0000 (16:53 -0700)
commit8195766508d4d14636b7c73083aeb1cfec8c943e
tree5ac9f9b06f86fd6790475ddf00146d0fa1e7fcf5
parent8ba9a001f1e7289b7f6ab3165d34bbe6a738514a
Adding std::unique_ptr definition for the ASN1_TIME type.

Summary:
The ASN1_TIME is the typically used within OpenSSL for representing
time. For example, it can be used to represent the NotBefore and NotAfter
properties of a certificate to be verified. This diff introduces a
ASN1TimeUniquePtr type to take care of the ownership of the ASN1_TIME.

Reviewed By: yfeldblum

Differential Revision: D3561274

fbshipit-source-id: ca4d1431b33098cccd727253dd301e209d2561a5
folly/io/async/ssl/OpenSSLPtrTypes.h