Fix copyright lines
[folly.git] / folly / ssl / OpenSSLPtrTypes.h
index 7784888fba04695688341536dfac72ac91f09a0e..2008f22d0192f3527b9f727100f4f24fe373eba7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2016-present Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -32,6 +32,10 @@ using ASN1TimeUniquePtr = std::unique_ptr<ASN1_TIME, ASN1TimeDeleter>;
 // X509
 using X509Deleter = folly::static_function_deleter<X509, &X509_free>;
 using X509UniquePtr = std::unique_ptr<X509, X509Deleter>;
+using X509ExtensionDeleter =
+    folly::static_function_deleter<X509_EXTENSION, &X509_EXTENSION_free>;
+using X509ExtensionUniquePtr =
+    std::unique_ptr<X509_EXTENSION, X509ExtensionDeleter>;
 using X509StoreDeleter =
     folly::static_function_deleter<X509_STORE, &X509_STORE_free>;
 using X509StoreUniquePtr = std::unique_ptr<X509_STORE, X509StoreDeleter>;
@@ -102,5 +106,5 @@ using BIGNUMUniquePtr = std::unique_ptr<BIGNUM, BIGNUMDeleter>;
 // SSL and SSL_CTX
 using SSLDeleter = folly::static_function_deleter<SSL, &SSL_free>;
 using SSLUniquePtr = std::unique_ptr<SSL, SSLDeleter>;
-}
-}
+} // namespace ssl
+} // namespace folly