[ntp:questions] xntpd on an old aix3.2

pierre pier.jourdan at francetelecom.com
Fri Oct 8 15:46:05 UTC 2004


Hello,
As i need to install xntpd on old aix 3.2 server with cc compiler, i
try to compil xntp3-5.93e.
I only need to modify a_md512crypt.c a_md5decrypt.c a_md5encrypt.c
from the directory libntp, and evrything is ok.
The change is on the call of memmove, for example in a_md512crypt.c:
the original:
<code>
    memmove((char *) &pkt[NOCRYPT_int32S + length/sizeof(u_int32)],  
#ifdef __NetBSD__                                                    
            (char *) hash,                                           
#else                                                                
            (char *) ctx.digest,                                     
#endif                                                               
            BLOCK_OCTETS);                                           
    return (4 + BLOCK_OCTETS);
</code>
and the code after the change:
<code>
    memmove((char *) &pkt[NOCRYPT_int32S + length/sizeof(u_int32)],  
            (char *) ctx.digest,                                     
            BLOCK_OCTETS);                                           
    return (4 + BLOCK_OCTETS);
</code>

I hope that's can help someone !
Thanks to www.ntp.org



More information about the questions mailing list