From d52b89b4e881639bc68d9c30983e08a1b8085be8 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 31 Jan 2014 10:57:17 -0600 Subject: change register/unregister to activate/deactivate --- docs/hazmat/backends/openssl.rst | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'docs/hazmat/backends/openssl.rst') 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**. -- cgit v1.2.3