projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove unused local in OpenSSLCertUtils
[folly.git]
/
folly
/
ssl
/
OpenSSLCertUtils.cpp
diff --git
a/folly/ssl/OpenSSLCertUtils.cpp
b/folly/ssl/OpenSSLCertUtils.cpp
index 9dbbe46a4bc4e3003750a82ec956d8665fb90095..10c5f9964e0799f38a3c68d57684d8ff9b53e597 100644
(file)
--- a/
folly/ssl/OpenSSLCertUtils.cpp
+++ b/
folly/ssl/OpenSSLCertUtils.cpp
@@
-159,8
+159,6
@@
std::string OpenSSLCertUtils::getDateTimeStr(const ASN1_TIME* time) {
return "";
}
- std::array<char, 32> buf;
-
auto bio = BioUniquePtr(BIO_new(BIO_s_mem()));
if (bio == nullptr) {
throw std::runtime_error("Cannot allocate bio");