diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-07 16:03:16 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-07 16:06:03 +0200 |
commit | b05cf9b5b9d1200c4128b53f48e35891b9215cf0 (patch) | |
tree | ee69d87efc969ec190ee0b1f36e8059dd2f9e54e /lib/crypto-backend.c | |
parent | fc84f938e2f669d8edb090e0945fe60ba73d75ff (diff) | |
download | gnutls-b05cf9b5b9d1200c4128b53f48e35891b9215cf0.tar.gz |
extend the fallback to setkey in addition to init
Diffstat (limited to 'lib/crypto-backend.c')
-rw-r--r-- | lib/crypto-backend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/crypto-backend.c b/lib/crypto-backend.c index 4f8249caa1..3c427601d2 100644 --- a/lib/crypto-backend.c +++ b/lib/crypto-backend.c @@ -151,7 +151,7 @@ void _gnutls_crypto_deregister(void) * priority of 90 and CPU-assisted of 80. The algorithm with the lowest priority will be * used by gnutls. * - * In the case the registered init function returns %GNUTLS_E_NEED_FALLBACK, + * In the case the registered init or setkey functions return %GNUTLS_E_NEED_FALLBACK, * GnuTLS will attempt to use the next in priority registered cipher. * * This function should be called before gnutls_global_init(). @@ -196,7 +196,7 @@ const gnutls_crypto_cipher_st * priority of 90 and CPU-assisted of 80. The algorithm with the lowest priority will be * used by gnutls. * - * In the case the registered init function returns %GNUTLS_E_NEED_FALLBACK, + * In the case the registered init or setkey functions return %GNUTLS_E_NEED_FALLBACK, * GnuTLS will attempt to use the next in priority registered cipher. * * The functions which are marked as non-AEAD they are not required when @@ -247,8 +247,8 @@ gnutls_crypto_register_cipher(gnutls_cipher_algorithm_t algorithm, * priority of 90 and CPU-assisted of 80. The algorithm with the lowest priority will be * used by gnutls. * - * In the case the registered init function return %GNUTLS_E_NEED_FALLBACK - * then GnuTLS will attempt to use the next in priority registered cipher. + * In the case the registered init or setkey functions return %GNUTLS_E_NEED_FALLBACK, + * GnuTLS will attempt to use the next in priority registered cipher. * * The functions registered will be used with the new AEAD API introduced in * GnuTLS 3.4.0. Internally GnuTLS uses the new AEAD API. |