updates for new gnutls.
[crywrap.git] / src / primes.h
blobae5edb4b097dfd7f30d1f108d564d7c8e3c97c97
1 /* -*- mode: c; c-file-style: "gnu" -*-
2 * primes.h -- initial DH primes for CryWrap
3 * Copyright (C) 2003 Gergely Nagy <algernon@bonehunter.rulez.org>
5 * This file is part of CryWrap.
7 * CryWrap is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * CryWrap is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 * License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 /** @file primes.h
23 * Initial DH primes for CryWrap.
25 * In order to speed up the startup time, CryWrap does not generate a
26 * new DH prime upon every startup, but only when it receives a
27 * SIGHUP.
30 #ifndef _CRYWRAP_PRIMES_H
31 #define _CRYWRAP_PRIMES_H /**< primes.h multi-include guard */
33 /** Initial DH primes, 1024 bits.
35 static char _crywrap_prime_dh_1024[] = "-----BEGIN DH PARAMETERS-----\n"
36 "MIGHAoGBAO6vCrmts43WnDP4CvqPxehgcmGHdf88C56iMUycJWV21nTfdJbqgdM4\n"
37 "O0gT1pLG4ODV2OJQuYvkjklcHWCJ2tFdx9e0YVTWts6O9K1psV1JglWbKXvPGIXF\n"
38 "KfVmZg5X7GjtvDwFcmzAL9TL9Jduqpr9UTj+g3ZDW5/GHS/A6wbjAgEC\n"
39 "-----END DH PARAMETERS-----\n";
41 #endif
43 /* arch-tag: a5ef5d07-d423-41fc-a2f3-360d47470df3 */