Changeset e3869df
- Timestamp:
- Oct 17, 2002, 3:10:11 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 0ba59d2
- Parents:
- d309eb3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zcrypt.c
rd309eb3 re3869df 9 9 * "crypt-default" for the keyfile name. */ 10 10 11 static const char fileIdent[] = "$Id$"; 12 11 13 #include <stdio.h> 12 14 #include <stdlib.h> … … 62 64 int do_encrypt(char *keystring, int zephyr, char *class, char *instance, ZWRITEOPTIONS *zoptions, char* keyfile); 63 65 int do_decrypt(char *keystring); 66 67 int des_ecb_encrypt(char [], char [], des_key_schedule, int); 64 68 65 69 #define M_NONE 0 … … 314 318 strcat(out, "\n"); 315 319 } 316 owl_function_debugmsg("Have: %s", out);317 320 return(0); 318 321 } 319 322 320 323 int zcrypt_encrypt(char *out, char *in, char *class, char *instance) { 321 324 return(0); 322 325 } 323 326 … … 347 350 if (i != start) *ptr++ = ' '; 348 351 /* Copy argv[i], leaving ptr pointing to the '\0' copied from temp */ 349 while ((*ptr = *temp++)!= NULL) {352 while ((*ptr = *temp++)!=0) { 350 353 ptr++; 351 354 } … … 360 363 /* Find the class/instance in the .crypt-table */ 361 364 char *GetZephyrVarKeyFile(char *whoami, char *class, char *instance) { 362 char *keyfile ;365 char *keyfile = NULL; 363 366 char varname[MAX_SEARCH][128]; 364 367 int length[MAX_SEARCH], i; … … 528 531 int freein = FALSE; 529 532 int use_buffer = FALSE; 530 int num_blocks , last_block_size;533 int num_blocks=0, last_block_size=0; 531 534 532 535 des_string_to_key(keystring, key); -
zwrite.c
raecf3e6 re3869df 6 6 7 7 static const char fileIdent[] = "$Id$"; 8 9 Code_t ZResetAuthentication(); 8 10 9 11 int owl_zwrite_create_and_send_from_line(char *cmd, char *msg) {
Note: See TracChangeset
for help on using the changeset viewer.