Move the code for 'openssl list' to its own translation unit.