go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi guys. I need to translate some C code into Perl. I want to decrypt NS1crypted stuff on solaris. There is a tool written in C by the opensolaris project. (http://stuff.iain.cx/2008/05/03/ns103eb2365be169abbe3a45088a10a/)I need a Perlscript what does the same thing so i started to translate this code. But I kinda stuck in a function where I keep getting different return values. Here's the C code i want to translate: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libsldap/common/ns_crypt.cI stuck in the c_setup function. Perlcode: http://pastebin.com/ucg6V0CeI guess it's some stuff with signed-overflow integers in the C-code but I don't really have an idea. I'm trying this for days now.. please help me. regards,bottch In reply to C code translation to Perl by bottch
|
|