int cmd_crypt(int argc, char *argv[]) { char *cp, *psw; if (argc < 2) psw = getpass("Password:"******"out of memory"); printf("%s\n", cp); free(cp); exit(0); }
int cmd_crypt(int argc, char *argv[]) { char *cp, *psw; if (argc < 2) psw = getpassphrase(gettext("Password:"******"out of memory")); smb_simplecrypt(cp, psw); printf("%s\n", cp); free(cp); return (0); }