version 1.9, 2013/11/27 00:13:22 |
version 1.10, 2015/01/16 06:40:14 |
|
|
* |
* |
* Donated to the Public Domain by Paul Borman |
* Donated to the Public Domain by Paul Borman |
*/ |
*/ |
#include <sys/param.h> |
|
#include <sys/stat.h> |
#include <sys/stat.h> |
|
|
#include <ctype.h> |
#include <ctype.h> |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
#include <limits.h> |
#include <openssl/des.h> |
#include <openssl/des.h> |
|
|
#define KEYFILE ".keyfile.des" |
#define KEYFILE ".keyfile.des" |
|
|
char buf[256]; |
char buf[256]; |
DES_key_schedule ks; |
DES_key_schedule ks; |
DES_cblock key; |
DES_cblock key; |
char _keyfile[MAXPATHLEN]; |
char _keyfile[PATH_MAX]; |
char *keyfile = 0; |
char *keyfile = 0; |
FILE *fp; |
FILE *fp; |
int init = 0; |
int init = 0; |