/[mcrypt]/libmcrypt/lib/mcrypt.c
ViewVC logotype

Diff of /libmcrypt/lib/mcrypt.c

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

revision 1.10 by nmav, Tue Jan 23 17:45:09 2001 UTC revision 1.11 by nmav, Thu Feb 1 10:34:51 2001 UTC
# Line 110  static int internal_init_mcrypt(MCRYPT t Line 110  static int internal_init_mcrypt(MCRYPT t
110          ok = mcrypt_set_key(td,          ok = mcrypt_set_key(td,
111                         (void *) td->akey,                         (void *) td->akey,
112                         (void *) td->keyword_given,                         (void *) td->keyword_given,
113                         key_size, IV, mcrypt_enc_get_iv_size(td));                         key_size, IV, IV!=NULL ? mcrypt_enc_get_iv_size(td) : 0);
114    
115          if (ok!=0) return MCRYPT_UNKNOWN_ERROR; /* algorithm error */          if (ok!=0) return MCRYPT_UNKNOWN_ERROR; /* algorithm error */
116    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26