update module license key text and update loader to accept it

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Kevin P. Fleming 20 years ago
parent 699f55071b
commit 628a3e8d1b

@ -114,12 +114,17 @@ int reload(void); /* reload configs */
/*! \brief The text the key() function should return. */ /*! \brief The text the key() function should return. */
#define ASTERISK_GPL_KEY \ #define ASTERISK_GPL_KEY \
"This paragraph is Copyright (C) 2000, Linux Support Services, Inc. \ "This paragraph is copyright (c) 2006 by Digium, Inc. \
In order for your module to load, it must return this key via a function \ In order for your module to load, it must return this \
called \"key\". Any code which includes this paragraph must be licensed under \ key via a function called \"key\". Any code which \
the GNU General Public License version 2 or later (at your option). Linux \ includes this paragraph must be licensed under the GNU \
Support Services, Inc. reserves the right to allow other parties to license \ General Public License version 2 or later (at your \
this paragraph under other terms as well." option). In addition to Digium's general reservations \
of rights, Digium expressly reserves the right to \
allow other parties to license this paragraph under \
different terms. Any use of Digium, Inc. trademarks or \
logos (including \"Asterisk\" or \"Digium\") without \
express written permission of Digium, Inc. is prohibited.\n"
#define AST_MODULE_CONFIG "modules.conf" /*!< \brief Module configuration file */ #define AST_MODULE_CONFIG "modules.conf" /*!< \brief Module configuration file */

@ -62,8 +62,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
static int modlistver = 0; /* increase whenever the list changes, to protect reload */ static int modlistver = 0; /* increase whenever the list changes, to protect reload */
static unsigned char expected_key[] = static unsigned char expected_key[] =
{ 0x8e, 0x93, 0x22, 0x83, 0xf5, 0xc3, 0xc0, 0x75, { 0x87, 0x76, 0x79, 0x35, 0x23, 0xea, 0x3a, 0xd3,
0xff, 0x8b, 0xa9, 0xbe, 0x7c, 0x43, 0x74, 0x63 }; 0x25, 0x2a, 0xbb, 0x35, 0x87, 0xe4, 0x22, 0x24 };
/* /*
* Modules can be in a number of different states, as below: * Modules can be in a number of different states, as below:

Loading…
Cancel
Save