projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silccrypt
/
silcpkcs.h
diff --git
a/lib/silccrypt/silcpkcs.h
b/lib/silccrypt/silcpkcs.h
index 978da199882dc82c95cac8b3a2e4d24de3f60eab..2fd34f7490650fb731eda7c30007401524b1f626 100644
(file)
--- a/
lib/silccrypt/silcpkcs.h
+++ b/
lib/silccrypt/silcpkcs.h
@@
-469,7
+469,9
@@
SilcBool silc_pkcs_public_key_alloc(SilcPKCSType type,
*
* DESCRIPTION
*
*
* DESCRIPTION
*
- * Frees the public key.
+ * Frees the public key. This will also automatically free the underlaying
+ * PKCS specific public key. All public keys allocated through the
+ * PKCS API must be freed by calling this function.
*
***/
void silc_pkcs_public_key_free(SilcPublicKey public_key);
*
***/
void silc_pkcs_public_key_free(SilcPublicKey public_key);
@@
-580,7
+582,9
@@
SilcUInt32 silc_pkcs_private_key_get_len(SilcPrivateKey private_key);
*
* DESCRIPTION
*
*
* DESCRIPTION
*
- * Frees the private key.
+ * Frees the public key. This will also automatically free the underlaying
+ * PKCS specific private key. All private keys allocated through the
+ * PKCS API must be freed by calling this function.
*
***/
void silc_pkcs_private_key_free(SilcPrivateKey private_key);
*
***/
void silc_pkcs_private_key_free(SilcPrivateKey private_key);