mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
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
17 lines
670 B
C++
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]);
|