Commit 1df28f42 authored by Kevin Ballard's avatar Kevin Ballard
Browse files

Remove debug prints in Crypter::final()

parent 9d09a986
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -159,16 +159,12 @@ pub impl Crypter {
        unsafe {
            let mut res = vec::from_elem(self.blocksize, 0u8);

            io::println(fmt!("final, res %? long", res.len()));

            let reslen = do vec::as_mut_buf(res) |pres, _len| {
                let mut reslen = self.blocksize as c_int;
                libcrypto::EVP_CipherFinal(self.ctx, pres, &mut reslen);
                reslen
            };

            io::println(fmt!("openssl says %? bytes", reslen));

            vec::slice(res, 0u, reslen as uint).to_owned()
        }
    }