Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 81dbb479

Přidáno uživatelem Jan Pašek před asi 4 roky(ů)

Re #8569 Checking presence of OpenSSL during init

Zobrazit rozdíly:

src/services/cryptography.py
289 289
        # return it as a tuple
290 290
        return subj, not_before, not_after
291 291

  
292
    def get_openssl_version(self) -> str:
293
        """
294
        Get version of the OpenSSL installed on the system
295
        :return: version of the OpenSSL as returned from the process
296
        """
297
        return self.__run_for_output(["version"]).decode("utf-8")
298

  
292 299

  
293 300
class CryptographyException(Exception):
294 301

  

Také k dispozici: Unified diff