bugfix failure handling of revoke

* openssl version 1.0.1-4 (precise) shows 'error 23' but exits with 0
* openssl version 1.0.1f (trusty) shows 'error 23' but exits with 2