summaryrefslogtreecommitdiffstats
path: root/crypto/ct
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-07-05 21:22:18 +0200
committerRich Salz <rsalz@openssl.org>2016-07-25 08:35:39 -0400
commitceab33e2cfecbe57762e06576d2dd124c0424336 (patch)
treeb6fd6996dfe9482524b206ec18032e5dc4fec22b /crypto/ct
parentfefa4d5507ff78936bc0a4ed7d18dfd6c52da2fe (diff)
Typo and comment fix
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1301)
Diffstat (limited to 'crypto/ct')
-rw-r--r--crypto/ct/ct_b64.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/ct/ct_b64.c b/crypto/ct/ct_b64.c
index 9cf7c51be3..80bd45e2d9 100644
--- a/crypto/ct/ct_b64.c
+++ b/crypto/ct/ct_b64.c
@@ -116,9 +116,10 @@ SCT *SCT_new_from_base64(unsigned char version, const char *logid_base64,
}
/*
- * This methods returns: 1 on Success,
- * 0 on decoding failure,
- * -1 on internal (malloc) failure, or invalid parameter if any.
+ * Allocate, build and returns a new |ct_log| from input |pkey_base64|
+ * It returns 1 on success,
+ * 0 on decoding failure, or invalid parameter if any
+ * -1 on internal (malloc) failure
*/
int CTLOG_new_from_base64(CTLOG **ct_log, const char *pkey_base64, const char *name)
{