summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-08-04 22:25:22 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-08-04 22:27:07 +0200
commit44b9e723abb60b2e8722177c711d90412c2c4310 (patch)
treeeb2df928c902a3533fe4d026fc830806dc32716b /lib
parent0628efa464c1412a4737ea4723c43ddb074fabb3 (diff)
downloadgnutls-44b9e723abb60b2e8722177c711d90412c2c4310.tar.gz
corrected typo
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_rsa_export.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_rsa_export.c b/lib/gnutls_rsa_export.c
index 63bd7822af..c88aee4083 100644
--- a/lib/gnutls_rsa_export.c
+++ b/lib/gnutls_rsa_export.c
@@ -149,10 +149,10 @@ gnutls_rsa_params_generate2 (gnutls_rsa_params_t params, unsigned int bits)
/**
* gnutls_rsa_params_import_pkcs1:
* @params: A structure where the parameters will be copied to
- * @pkcs1_params: should contain a PKCS1 RSAPublicKey structure PEM or DER encoded
+ * @pkcs1_params: should contain a PKCS1 RSAPrivateKey structure PEM or DER encoded
* @format: the format of params. PEM or DER.
*
- * This function will extract the RSAPublicKey found in a PKCS1 formatted
+ * This function will extract the RSAPrivateKey found in a PKCS1 formatted
* structure.
*
* If the structure is PEM encoded, it should have a header
@@ -172,11 +172,11 @@ gnutls_rsa_params_import_pkcs1 (gnutls_rsa_params_t params,
* gnutls_rsa_params_export_pkcs1:
* @params: Holds the RSA parameters
* @format: the format of output params. One of PEM or DER.
- * @params_data: will contain a PKCS1 RSAPublicKey structure PEM or DER encoded
+ * @params_data: will contain a PKCS1 RSAPrivateKey structure PEM or DER encoded
* @params_data_size: holds the size of params_data (and will be replaced by the actual size of parameters)
*
* This function will export the given RSA parameters to a PKCS1
- * RSAPublicKey structure. If the buffer provided is not long enough to
+ * RSAPrivateKey structure. If the buffer provided is not long enough to
* hold the output, then GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.
*
* If the structure is PEM encoded, it will have a header