X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=fips%2Fdes%2Ffips_desmovs.c;h=79900aeae28e18e7f55c6f1beaf7c8749129639f;hp=29035f08c76669710d36c41f18a959cf745bc90a;hb=69569dd1684ec67ccf8f0a7007872ebbb7a724d5;hpb=3ec9dceb15bfe2f45215e459454211fdc7a20c29 diff --git a/fips/des/fips_desmovs.c b/fips/des/fips_desmovs.c index 29035f08c7..79900aeae2 100644 --- a/fips/des/fips_desmovs.c +++ b/fips/des/fips_desmovs.c @@ -263,6 +263,7 @@ static int do_tmct(char *amode, if(imode == TOFB) for(n=0 ; n < 8 ; ++n) text[n]=text0[n]^old_iv[n]; + FIPS_cipher_ctx_cleanup(&ctx); } return 1; } @@ -622,6 +623,7 @@ static int tproc_file(char *rqfile, char *rspfile) fclose(rfp); if (afp) fclose(afp); + FIPS_cipher_ctx_cleanup(&ctx); return err; }