|
From: Goodbar, Loyd (AFS-Water Valley) <LGoodbar@afs.bwauto.com> > That appeared to be the problem. Thanks! > > How it works, but every second run, the call to CIPHER fails because the > pointer to HASHCTXPTR is *NULL. > d controls ds > d function 5i 0 inz(5) > d hashalg 1a inz(x'00') > d sequence 1a inz(x'00') > d datalength 10i 0 inz(15) > d unused 8a inz(*loval) > d hashctxptr * inz(%addr(hashworkarea)) > d hashworkarea s 96a inz(*loval) > The 'hashworkarea' should be set to zero EVERY time you call CIPHER if you are using the 'only' sequence (x00). How that causes the pointer to become NULL I don't know.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.