Parent Directory | Revision Log | 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 |
|
webmaster@linux.gr | ViewVC Help |
Powered by ViewVC 1.1.26 |