Get the actually used cipher name,bits,version of the established
connection.

get_cipher_name, get_cipher_bits, get_cipher_version methods are
wrappers for SSL_get_cipher_name, SSL_get_cipher_bits,
SSL_get_cipher_version

https://www.openssl.org/docs/ssl/SSL_get_current_cipher.html
https://www.openssl.org/docs/ssl/SSL_CIPHER_get_name.html
Test methods test_get_cipher_* have been split into two sets.
assertTrue(isinstance was replaced with assertIsInstance.
assertEqual for None was replaced with assertIs.
Added entries to doc/api/ssl.rst.
Replace assertIs with assertTrue,
because assertIs is not supported in Python 2.6
Apply the changeset from https://code.launchpad.net/~redtoad/pyopenssl/pyopenssl/+merge/178226 by Sebastian Rahlf
pyflakes and documentation cleanups
Further simplifications.
Add a changelog entry

Fixes #48
Merge pull request #78 from pyca/tsafe-apply-48

Replace the usage of `apply` in OpenSSL.tsafe with regular function call syntax.
whitespace: three blank lines between top-level suites, two blank lines between indented suites
Add return type API documentation.
ChangeLog entry
merge master
Use assertIdentical instead of the other thing.
Return unicode from these new APIs rather than the native string type.
Merge pull request #83 from exarkun/current_cipher_info3

Introduce Connection.get_cipher_name, Connection.get_cipher_bits, and Connection.get_cipher_version.
Fix memory leak in _X509_REVOKED_dup

The call to X509_REVOKED_new() will create two empty ASN1 structures
that were never freed, but simply replaced by a copy.
When doing multiple calls to CRL.get_revoked() on a big CRL, this
results in a huge memory leak.
This change adds two calls to free those empty ASN1 structures before
replacing them with the copy.

This change requires https://github.com/pyca/cryptography/pull/830 in
order to work.
Changelog entry
Add a leakcheck test for CRL.get_revoked
Make sure that lines are not longer than 80 characters
Remove unneeded calls

A serial number and a revocation date do not need to be set for the
leak to occur in the current version of pyOpenSSL.