summaryrefslogtreecommitdiff
path: root/lib/gnutls_ui.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-21 22:09:16 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-06-21 22:19:29 +0200
commitc051a0e55505ff69c1e7c07148d211a26c0f6d03 (patch)
treeabee4aa5edbbeb98fe12f95159ce811ca4d824d7 /lib/gnutls_ui.c
parent0aaf3e813aaa010937297fa8b30856e7d04526d5 (diff)
downloadgnutls-c051a0e55505ff69c1e7c07148d211a26c0f6d03.tar.gz
Added functions to directly load a private key.
They allow loading a data buffer into a gnutls_privkey_t without going through cumbersome convertions.
Diffstat (limited to 'lib/gnutls_ui.c')
-rw-r--r--lib/gnutls_ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c
index e254d228f4..6ff667afe6 100644
--- a/lib/gnutls_ui.c
+++ b/lib/gnutls_ui.c
@@ -748,6 +748,7 @@ gnutls_anon_set_params_function (gnutls_anon_server_credentials_t res,
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise
* an error code is returned.
*
+ * Since 3.1
**/
int gnutls_load_file(const char* filename, gnutls_datum_t * data)
{