I class myself as a noob (I guess you will agree when you see me code :) So please be gentle....
I have the following code that once I read my config file in, I want to encrypt the password etc. I am using sfl code from http://legacy.imatix.com/html/sfl/sfl.htm
When I compile, using gcc on solaris, I get the following warning: passing arg 1 of `my_encryptIDEA` from incompatible pointer type. Please could someone explain why and how to correct? Thank you.
const char *
key  = "100110110111011010110";
len = strlen(buffer);
if (crypt_encode ((byte *)buffer, (long) len,
CRYPT_IDEA, (byte *)key))
How it is used:
configInfo->encryptedKey = strdup(my_encryptIDEA(Parameter));