X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ffides.cc;h=e84e9229a35e594a4c97684754f49c60fa4b2e75;hb=c30548270cbb65865f0336dd7911e196b0949717;hp=006b503613c6beb31fe298ee850f97c4cd83b92f;hpb=811b273f857703f489875376f188f1fc21b7e850;p=fides diff --git a/src/fides.cc b/src/fides.cc index 006b503..e84e922 100644 --- a/src/fides.cc +++ b/src/fides.cc @@ -1,39 +1,24 @@ -/* fides.c - Light-weight, decentralised trust and authorisation management +/* fides.cc - Light-weight, decentralised trust and authorisation management Copyright (C) 2008-2009 Guus Sliepen - Fides is free software; you can redistribute it and/or modify - it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. - - Fides is distributed in the hope that it will be useful, + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this program; if not, see . + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, see . */ -#include -#include -#include -#include #include #include #include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include "fides.h" @@ -238,7 +223,7 @@ static int find(int argc, char *const argv[]) { // Find certificates matching statement fides fides; - const vector &certs = fides.find_certificates(argv[0]); + const vector &certs = fides.find_certificates(argv[0]); for(size_t i = 0; i < certs.size(); ++i) cout << i << ' ' << certs[i]->to_string() << '\n'; return 0;