bug 893: fixed sql-statement by certificate revokation