VM64X%KSUVM.BITNET@WISCVM.WISC.EDU (GS46) (12/11/87)
I had a similar experience writing a program that accessed the encrypt system call. I can't tell you for sure not having used SCO's product However the problem I had in porting what worked on 4.2/4.3 BSD over to System V.2 on a 3B15 and/or 3B5 was that the version of encrypt that was included in the "normal" library ignores the "edflag" parameter thus making it possible to encrypt but not decrypt. The way I finally solved the problem in my case was to include the code for the 4.2 system call into my program as another function when I ported the code over (renamed to eliminate function re-definition errors). Acknowledge-To: Gary D. Strohm (GS46) <VM64X@KSUVM>