This adds (DEPRECATED) to both midstate and hash1 in help getwork-RPC. The idea is to remove both fields "soon".
hash1 is a buffer the miner should use to insert the hash between both SHA256() calls. It contains some bytes for padding. These are standardized in the SHA256 spec and all the popular miners have them hardcoded for performance reasons so there is no need to provide it with every getwork.
midstate contains the internal SHA256 state after hashing the first half of the blockheader. This can be easily done in miners as they are already doing lots of SHA256 iterations and have probably faster algorithms than bitcoind.
Deprecating these fields will allow for cleaner code in main.cpp /BitcoinMiner (i.e. only build blockheader without any hashing or formatting of buffers) and will make it easier to remove cryptopp from the source tree.