aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/openssl.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/backends/openssl.rst')
-rw-r--r--docs/hazmat/backends/openssl.rst13
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/hazmat/backends/openssl.rst b/docs/hazmat/backends/openssl.rst
index 81361f5a..1d40b93c 100644
--- a/docs/hazmat/backends/openssl.rst
+++ b/docs/hazmat/backends/openssl.rst
@@ -13,14 +13,14 @@ The `OpenSSL`_ C library.
The string name of this backend: ``"openssl"``
- .. method:: register_osrandom_engine()
+ .. method:: activate_osrandom_engine()
- Registers the OS random engine as default. This will effectively
- disable OpenSSL's default CSPRNG.
+ Activates the OS random engine. This will effectively disable OpenSSL's
+ default CSPRNG.
- .. method:: unregister_osrandom_engine()
+ .. method:: deactivate_osrandom_engine()
- Unregisters the OS random engine if it is default. This will restore
+ Deactivates the OS random engine if it is default. This will restore
the default OpenSSL CSPRNG. If the OS random engine is not the default
engine (e.g. if another engine is set as default) nothing will be
changed.
@@ -45,9 +45,6 @@ This engine is **active** by default when importing the OpenSSL backend. When
active this engine will be used to generate all the random data OpenSSL
requests.
-If you wish to deactivate the engine you may call
-``unregister_osrandom_engine()`` on the backend object.
-
When importing only the binding it is added to the engine list but
**not activated**.