summaryrefslogtreecommitdiff
path: root/lib/auth_rsa.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-02 07:13:35 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-12-02 07:13:35 +0000
commit54e8f8fe0a91a8b53a2362ef2bab292ade94fb25 (patch)
treefadbc28920b3e0b2b74332c54110d14148c950d2 /lib/auth_rsa.c
parente9accc808aad3981ac19712be97e395a399506e7 (diff)
downloadgnutls-54e8f8fe0a91a8b53a2362ef2bab292ade94fb25.tar.gz
Cleanups. Prefixed some internal function with underscore.
Diffstat (limited to 'lib/auth_rsa.c')
-rw-r--r--lib/auth_rsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index 121c96d0f8..c55eb338dc 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -327,12 +327,12 @@ int _gnutls_gen_rsa_client_kx(gnutls_session session, opaque ** data)
} else { /* TLS 1 */
*data = gnutls_malloc(sdata.size + 2);
if (*data == NULL) {
- gnutls_free_datum(&sdata);
+ _gnutls_free_datum(&sdata);
return GNUTLS_E_MEMORY_ERROR;
}
_gnutls_write_datum16( *data, sdata);
ret = sdata.size + 2;
- gnutls_free_datum(&sdata);
+ _gnutls_free_datum(&sdata);
return ret;
}