def __init__(self, req=None, _pyfree=0): if req is not None: self.req = req self._pyfree = _pyfree else: self.req = m2.x509_req_new() self._pyfree = 1
def __init__(self, req=None, _pyfree=0): # type: (Optional[int], int) -> None if req is not None: self.req = req self._pyfree = _pyfree else: self.req = m2.x509_req_new() self._pyfree = 1
def __init__(self, req=None, _pyfree=0): # type: (Optional[int], int) -> None if req is not None: self.req = req self._pyfree = _pyfree else: self.req = m2.x509_req_new() m2.x509_req_set_version(self.req, 0) self._pyfree = 1