[Freeipa-devel] [PATCH] 241 fix deprecation warning in certs.py

Rob Crittenden rcritten at redhat.com
Thu Jul 23 21:01:05 UTC 2009


Fix deprecation warning for the sha library on Python 2.6

sha has been replaced by hashlib. We need to support Python 2.4 - 2.6 so
this will use hashlib if available but fall back onto sha if not.
Fortunately they use the same API for the function we need.

This is a partial fix for bug 509042

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-241-sha.patch
Type: application/mbox
Size: 1578 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090723/af2b89d8/attachment.mbox>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090723/af2b89d8/attachment.bin>


More information about the Freeipa-devel mailing list