L
lvirden
I'm responsible for supporting some C code which implements one time
passwords.
The author of the code is no longer available for help.
The code has been used for years on a sparc solaris platform.
However...
Now I need it to work on Linux Intel.
The behavior I am seeing is this.
I compiled this C code on Linux, using gcc, and it compiled without
complaint. I know that part of the code converts things into a hex
string from a long (and converts from the hex string into a long).
When I run a "build key" option of software using this code, it is
passed an IP address (for illustration, lets say"123.45.67.890").
A otp is generated.
Then, the command is issued with a flag that says "list the
information".
What it prints is
890.67.45.123
Now, what I am looking for are hints and tips on how to go about
generating things so that a command on either of the platforms will be
able to read and interpret correctly the information.
In other words, the data generated has to be readable across
platforms.
Are there some tutorials or guidelines for doing this sort of thing?
passwords.
The author of the code is no longer available for help.
The code has been used for years on a sparc solaris platform.
However...
Now I need it to work on Linux Intel.
The behavior I am seeing is this.
I compiled this C code on Linux, using gcc, and it compiled without
complaint. I know that part of the code converts things into a hex
string from a long (and converts from the hex string into a long).
When I run a "build key" option of software using this code, it is
passed an IP address (for illustration, lets say"123.45.67.890").
A otp is generated.
Then, the command is issued with a flag that says "list the
information".
What it prints is
890.67.45.123
Now, what I am looking for are hints and tips on how to go about
generating things so that a command on either of the platforms will be
able to read and interpret correctly the information.
In other words, the data generated has to be readable across
platforms.
Are there some tutorials or guidelines for doing this sort of thing?