Difference between revisions of "Nssha1"

From AOLserver Wiki
Jump to navigation Jump to search
m (added pre-wrap to configuration example)
 
Line 5: Line 5:
 
Debian users can install this module for aolserver4 with:
 
Debian users can install this module for aolserver4 with:
 
<pre>apt-get install aolserver4-nssha1</pre>
 
<pre>apt-get install aolserver4-nssha1</pre>
 +
 +
On FreeBSD and OS X nssha1 doesn't compile without editing nssha1.c.
 +
Comment out the following 2 lines (lines 139-140):
 +
 +
// typedef unsigned int u_int32_t;
 +
// typedef unsigned char u_int8_t;
  
 
'''Configuration'''
 
'''Configuration'''

Latest revision as of 11:52, 31 January 2007

The nssha1 module provides the ns_sha1 function.

Installation

Debian users can install this module for aolserver4 with:

apt-get install aolserver4-nssha1

On FreeBSD and OS X nssha1 doesn't compile without editing nssha1.c. Comment out the following 2 lines (lines 139-140):

// typedef unsigned int u_int32_t;
// typedef unsigned char u_int8_t;

Configuration

ns_section "ns/server/${servername}/modules"
ns_param   nssha1             nssha1.so