Skip to content

Instantly share code, notes, and snippets.

@wmh
Created May 12, 2009 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wmh/110556 to your computer and use it in GitHub Desktop.
Save wmh/110556 to your computer and use it in GitHub Desktop.
/*
* php-openid-2.1.2
* /Auth/OpenID/CryptUtil.php
*/
if (!defined('Auth_OpenID_RAND_SOURCE')) {
/**
* The filename for a source of random bytes. Define this yourself
* if you have a different source of randomness.
*/
if (file_exists('D:/Server/AppServ/'))
define('Auth_OpenID_RAND_SOURCE', NULL);
else
define('Auth_OpenID_RAND_SOURCE', '/dev/urandom');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment