summaryrefslogtreecommitdiff
path: root/examples/next-prime.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-04-10 19:06:23 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-04-12 09:44:49 +0200
commitf9283cb1972f74e8f232ae3d12c5e369897be5b1 (patch)
treed8e1ca0c4c7d536c8150dbc6d96bc14a58f06163 /examples/next-prime.c
parent90112edb7993a1444fd367ac9a0ebb38de0bb605 (diff)
downloadnettle-f9283cb1972f74e8f232ae3d12c5e369897be5b1.tar.gz
Update copyright headers for dual licensing, example directory.
Diffstat (limited to 'examples/next-prime.c')
-rw-r--r--examples/next-prime.c55
1 files changed, 31 insertions, 24 deletions
diff --git a/examples/next-prime.c b/examples/next-prime.c
index fe09cd19..41f3be1a 100644
--- a/examples/next-prime.c
+++ b/examples/next-prime.c
@@ -1,28 +1,35 @@
/* next-prime.c
- *
- * Command line tool for prime search.
- *
- */
-
-/* nettle, low-level cryptographics library
- *
- * Copyright (C) 2007 Niels Möller
- *
- * The nettle library 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.
- *
- * The nettle library 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 the nettle library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02111-1301, USA.
- */
+
+ Command line tool for prime search.
+
+ Copyright (C) 2007 Niels Möller
+
+ This file is part of GNU Nettle.
+
+ GNU Nettle is free software: you can redistribute it and/or
+ modify it under the terms of either:
+
+ * the GNU Lesser General Public License as published by the Free
+ Software Foundation; either version 3 of the License, or (at your
+ option) any later version.
+
+ or
+
+ * 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.
+
+ or both in parallel, as here.
+
+ GNU Nettle 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
+ General Public License for more details.
+
+ You should have received copies of the GNU General Public License and
+ the GNU Lesser General Public License along with this program. If
+ not, see http://www.gnu.org/licenses/.
+*/
#if HAVE_CONFIG_H
# include "config.h"