14 lines
384 B
Plaintext
14 lines
384 B
Plaintext
<?php
|
|
// $Id$
|
|
|
|
/**
|
|
* Implementation of hook_install().
|
|
*/
|
|
function openid_test_install() {
|
|
module_load_include('inc', 'openid');
|
|
// Generate a MAC key (Message Authentication Code) used for signing messages.
|
|
// The variable is base64-encoded, because variables cannot contain non-UTF-8
|
|
// data.
|
|
variable_set('openid_test_mac_key', base64_encode(_openid_get_bytes(20)));
|
|
}
|