mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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
This commit is contained in:
@@ -114,12 +114,17 @@ int reload(void); /* reload configs */
|
||||
|
||||
/*! \brief The text the key() function should return. */
|
||||
#define ASTERISK_GPL_KEY \
|
||||
"This paragraph is Copyright (C) 2000, Linux Support Services, Inc. \
|
||||
In order for your module to load, it must return this key via a function \
|
||||
called \"key\". Any code which includes this paragraph must be licensed under \
|
||||
the GNU General Public License version 2 or later (at your option). Linux \
|
||||
Support Services, Inc. reserves the right to allow other parties to license \
|
||||
this paragraph under other terms as well."
|
||||
"This paragraph is copyright (c) 2006 by Digium, Inc. \
|
||||
In order for your module to load, it must return this \
|
||||
key via a function called \"key\". Any code which \
|
||||
includes this paragraph must be licensed under the GNU \
|
||||
General Public License version 2 or later (at your \
|
||||
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 */
|
||||
|
||||
|
4
loader.c
4
loader.c
@@ -62,8 +62,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
static int modlistver = 0; /* increase whenever the list changes, to protect reload */
|
||||
|
||||
static unsigned char expected_key[] =
|
||||
{ 0x8e, 0x93, 0x22, 0x83, 0xf5, 0xc3, 0xc0, 0x75,
|
||||
0xff, 0x8b, 0xa9, 0xbe, 0x7c, 0x43, 0x74, 0x63 };
|
||||
{ 0x87, 0x76, 0x79, 0x35, 0x23, 0xea, 0x3a, 0xd3,
|
||||
0x25, 0x2a, 0xbb, 0x35, 0x87, 0xe4, 0x22, 0x24 };
|
||||
|
||||
/*
|
||||
* Modules can be in a number of different states, as below:
|
||||
|
Reference in New Issue
Block a user