'Add a revoked (by value not reference) to the CRL structure
:param revoked: The new revoked.
:type revoked: :class:`X509`
:return: None'

def add_revoked(self, revoked):

    copy = _X509_REVOKED_dup(revoked._revoked)
    if (copy == _ffi.NULL):
        _raise_current_error()
    add_result = _lib.X509_CRL_add0_revoked(self._crl, copy)
    if (add_result == 0):
        _raise_current_error()
