newkey.c (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) | newkey.c (1a7ac2bd24c1763b0d32e23d9c70308fbc24b07a) |
---|---|
1/* 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3 * unrestricted use provided that this legend is included on all tape 4 * media and as a part of the software program in whole or part. Users 5 * may copy or modify Sun RPC without charge, but are not authorized 6 * to license or distribute it to anyone else except as part of a product or 7 * program developed by the user or with the express written consent of 8 * Sun Microsystems, Inc. --- 76 unchanged lines hidden (view full) --- 85#ifdef YP 86static char YPDBPATH[]="/var/yp"; 87static char PKMAP[] = "publickey.byname"; 88#else 89static char PKFILE[] = "/etc/publickey"; 90static const char *err_string(int); 91#endif /* YP */ 92 | 1/* 2 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 3 * unrestricted use provided that this legend is included on all tape 4 * media and as a part of the software program in whole or part. Users 5 * may copy or modify Sun RPC without charge, but are not authorized 6 * to license or distribute it to anyone else except as part of a product or 7 * program developed by the user or with the express written consent of 8 * Sun Microsystems, Inc. --- 76 unchanged lines hidden (view full) --- 85#ifdef YP 86static char YPDBPATH[]="/var/yp"; 87static char PKMAP[] = "publickey.byname"; 88#else 89static char PKFILE[] = "/etc/publickey"; 90static const char *err_string(int); 91#endif /* YP */ 92 |
93static void usage(void); | 93static void usage(void) __dead2; |
94 95int 96main(int argc, char *argv[]) 97{ 98 char name[MAXNETNAMELEN + 1]; 99 char public[HEXKEYBYTES + 1]; 100 char secret[HEXKEYBYTES + 1]; 101 char crypt1[HEXKEYBYTES + KEYCHECKSUMSIZE + 1]; --- 134 unchanged lines hidden --- | 94 95int 96main(int argc, char *argv[]) 97{ 98 char name[MAXNETNAMELEN + 1]; 99 char public[HEXKEYBYTES + 1]; 100 char secret[HEXKEYBYTES + 1]; 101 char crypt1[HEXKEYBYTES + KEYCHECKSUMSIZE + 1]; --- 134 unchanged lines hidden --- |