def __lt__(self, other): return libcrypto.X509_NAME_cmp(self.ptr, other.ptr) < 0
def __cmp__(self, other): """ Compares X509 names """ return libcrypto.X509_NAME_cmp(self.ptr, other.ptr)
def __lt__(self, other): return libcrypto.X509_NAME_cmp(self.ptr, other.ptr) < 0
def __cmp__(self, other): """ Compares X509 names """ return libcrypto.X509_NAME_cmp(self.ptr, other.ptr)