projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bd5b8
)
Decrypt correctly.
author
Ben Laurie
<ben@openssl.org>
Thu, 18 Dec 2003 13:57:24 +0000
(13:57 +0000)
committer
Ben Laurie
<ben@openssl.org>
Thu, 18 Dec 2003 13:57:24 +0000
(13:57 +0000)
fips/des/fips_desmovs.c
patch
|
blob
|
history
diff --git
a/fips/des/fips_desmovs.c
b/fips/des/fips_desmovs.c
index 0ebd8c93396a31fa01595e62fb3c8c6cfebf5406..9357f0a4bc1ab3925b2f7aca42c486be740a93e0 100644
(file)
--- a/
fips/des/fips_desmovs.c
+++ b/
fips/des/fips_desmovs.c
@@
-324,7
+324,7
@@
void do_mct(char *amode,
/* accumulate material for the next key */
shiftin(nk,text,Sizes[imode]);
/* DebugValue("nk",nk,8); */
- if(
imode == CFB1 || imode == CFB8 || imode == CBC
)
+ if(
dir && (imode == CFB1 || imode == CFB8 || imode == CBC)
)
memcpy(text,old_iv,8);
}
for(n=0 ; n < 8 ; ++n)