Thanks Benjamin. Ssl works.
But now I got a new eorror: OpenSSL.crypto.Pkey() function not found.

Tried help(ssl) but found that module does not provide any  crypto related 
functions. Is there more modules to be imported or anything? 

Thanks!
Alan

Benjamin Baier <program...@netzbasis.de>编写:

>try
>$ python2.7
>Python 2.7.8 (default, Dec 12 2014, 14:59:33)
>[GCC 4.2.1 20070719 ] on openbsd5
>Type "help", "copyright", "credits" or "license" for more information.
> >>> import ssl
> >>> ssl.OPENSSL_VERSION
>
>On 12/21/2014 11:11 AM, Alan Cheng wrote:
>> Hi,
>> How can I use libressl with a python2.7 programm on current?
>>
>> The python program use "import OpenSSL", and I tried replace "OpenSSL" with 
>> "Libtls" and "Libressl", but none can be found.
>>
>> Searched Misc, Tech and FAQ, didn't find anything helpful.
>>
>> Thanks.
>> Alan Cheng

Reply via email to