/[imapfilter]/imapfilter/passwd.c
ViewVC logotype

Diff of /imapfilter/passwd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8.2.1 by lefcha, Sun May 25 00:52:34 2003 UTC revision 1.8.2.2 by lefcha, Mon May 26 08:14:17 2003 UTC
# Line 64  int encrypt_passwords(FILE * fd, account Line 64  int encrypt_passwords(FILE * fd, account
64    
65      /* Initialization vector. */      /* Initialization vector. */
66      c = ultostr(1 + random() % 100000000, 10);      c = ultostr(1 + random() % 100000000, 10);
67      snprintf(iv, EVP_MAX_IV_LENGTH, "%.8s", c);      snprintf(iv, EVP_MAX_IV_LENGTH, "%08s", c);
68      fprintf(fd, "%s\n", iv);      fprintf(fd, "%s\n", iv);
69    
70      EVP_CIPHER_CTX_init(&ctx);      EVP_CIPHER_CTX_init(&ctx);

Legend:
Removed from v.1.8.2.1  
changed lines
  Added in v.1.8.2.2

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26