version 1.77, 2001/08/02 15:06:52 |
version 1.78, 2001/08/02 15:43:57 |
|
|
#include <sectok.h> |
#include <sectok.h> |
#include <openssl/engine.h> |
#include <openssl/engine.h> |
#include "scard.h" |
#include "scard.h" |
#endif |
#endif /* SMARTCARD */ |
|
|
/* Number of bits in the RSA/DSA key. This value can be changed on the command line. */ |
/* Number of bits in the RSA/DSA key. This value can be changed on the command line. */ |
int bits = 1024; |
int bits = 1024; |
|
|
fprintf(stdout, "\n"); |
fprintf(stdout, "\n"); |
exit(0); |
exit(0); |
} |
} |
#endif |
#endif /* SMARTCARD */ |
|
|
static void |
static void |
do_fingerprint(struct passwd *pw) |
do_fingerprint(struct passwd *pw) |
|
|
do_download(pw, reader_id); |
do_download(pw, reader_id); |
else |
else |
do_upload(pw, reader_id); |
do_upload(pw, reader_id); |
#else |
#else /* SMARTCARD */ |
fatal("no support for smartcards."); |
fatal("no support for smartcards."); |
#endif |
#endif /* SMARTCARD */ |
} |
} |
|
|
arc4random_stir(); |
arc4random_stir(); |