33 static void usage(
void)
35 printf(
"\nusage: storepasswd <password> <filename>\n\n");
37 printf(
"Stores a password in encrypted format.\n");
38 printf(
"The resulting file can be used with the -rfbauth argument to OSXvnc.\n\n");
42 int main(
int argc,
char *argv[])
48 printf(
"storing password failed.\n");
51 printf(
"storing password succeeded.\n");
int rfbEncryptAndStorePasswd(char *passwd, char *fname)
int main(int argc, char *argv[])