ports/security/certificate-transparency/files/patch-cpp-tools-dump_sth.cc
Edward Tomasz Napierala ab69697f6c Google's Certificate Transparency project is an open framework for monitoring
and auditing SSL certificates in nearly real time.  It makes it possible
to detect SSL certificates that have been mistakenly issued by a certificate
authority or maliciously acquired from an otherwise unimpeachable certificate
authority. It also makes it possible to identify certificate authorities
that have gone rogue and are maliciously issuing certificates.

WWW: https://www.certificate-transparency.org/

Sponsored by:	The FreeBSD Foundation
2016-01-10 10:20:51 +00:00

17 lines
670 B
C++

--- cpp/tools/dump_sth.cc.orig 2015-10-27 10:35:13.973569000 +0100
+++ cpp/tools/dump_sth.cc 2015-10-27 10:35:44.745588000 +0100
@@ -26,11 +26,11 @@ void DumpSth(const char *filename) {
int main(int argc, char *argv[]) {
- google::SetVersionString(cert_trans::kBuildVersion);
- google::ParseCommandLineFlags(&argc, &argv, true);
+ gflags::SetVersionString(cert_trans::kBuildVersion);
+ gflags::ParseCommandLineFlags(&argc, &argv, true);
google::InitGoogleLogging(argv[0]);
- LOG(INFO) << "Build version: " << google::VersionString();
+ LOG(INFO) << "Build version: " << gflags::VersionString();
for (int i = 1; i < argc; ++i)
DumpSth(argv[i]);