
killallspam1.5524913874586663E12 asked a question.
lmcrypt not working
I've inputted all of the necessary vendor keys and set the vendor name in lm_code.h and the makefile. But after I build the new lmcrypt.exe, it doesn't seem to be able to generate the proper signatures for the license files. It doesn't even seem to be able to detect errors in the format of license file (ie: putting letters in the version number doesn't trigger an error). Is there something that I am doing wrong? I don't have any trouble generating sigs with the demo lmcrypt.
I am using Visual Studio 8 to build.
I've changed the vendor name in all licenses and configuration files. This includes any *.lic files along with the makefile and lm_code.h. Still can't seem to get any result with lm_crypt.
Is there anywhere else that needs to be changed?
I've looked at the source and there seems to be an issue with the function used to create and manipulate filenames: mktemp() on line 292 of lmcrypt.c . Is there some issue with the use of this function and Visual Studio 2005?
Three things:
1) We got around the problem by typing "lmcrypt -i counted.lic -o x.lic", which doesn't require the use of mktemp().
2) I'm good enough with C to get this stuff compiled, but changing code is something else. Will there be an updated version of lmcrypt.c available that will replace mktemp() with _mktemp_s()? (Not as important, now that I have a workaround.)
3) When I do a build, I see several other C functions that MS has marked obsolete. Will we face the same problems with those in the future as we are with mktemp() now?