summaryrefslogtreecommitdiff
path: root/lib/gnutls_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gnutls_auth.c')
-rw-r--r--lib/gnutls_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_auth.c b/lib/gnutls_auth.c
index c6d4830c14..6aed393e89 100644
--- a/lib/gnutls_auth.c
+++ b/lib/gnutls_auth.c
@@ -270,7 +270,7 @@ int _gnutls_auth_info_set( GNUTLS_STATE state, CredType type, int size, int allo
* to passive eavesdropers.
*/
if ( gnutls_auth_get_type( state) != state->gnutls_key->auth_info_type) {
- state->gnutls_key->auth_info = gnutls_realloc(
+ state->gnutls_key->auth_info = gnutls_realloc_fast(
state->gnutls_key->auth_info, size);
if (state->gnutls_key->auth_info == NULL) {
gnutls_assert();