Change md2_end prototype. Remove a unneeded memcpy in md2_end. Add comments.