[openssl-commits] [openssl] master update

Emilia Kasper emilia at openssl.org
Wed Oct 14 15:20:10 UTC 2015


The branch master has been updated
       via  b84939cc96896a5a9a8f5181794e53dce9b5d229 (commit)
      from  58dd1ce91aeafb513fa9fd09740e3151c2479314 (commit)


- Log -----------------------------------------------------------------
commit b84939cc96896a5a9a8f5181794e53dce9b5d229
Author: Emilia Kasper <emilia at openssl.org>
Date:   Fri Oct 9 17:38:47 2015 +0200

    ct_locl.h: fix some comments
    
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/ct/ct_locl.h | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/crypto/ct/ct_locl.h b/crypto/ct/ct_locl.h
index a616433..2d8e045 100644
--- a/crypto/ct/ct_locl.h
+++ b/crypto/ct/ct_locl.h
@@ -91,8 +91,9 @@ typedef struct {
     unsigned char *sct;
     size_t sct_len;
     /*
-     * If version is SCT_V1 fields below contain components of the SCT. "logid",
-     * "ext" and "sig" point to buffers allocated with OPENSSL_malloc().
+     * If version is SCT_V1, fields below contain components of the SCT.
+     * "log_id", "ext" and "sig" point to buffers allocated with
+     * OPENSSL_malloc().
      */
     unsigned char *log_id;
     size_t log_id_len;
@@ -139,7 +140,7 @@ int SCT_set_version(SCT *sct, sct_version_t version);
 int SCT_set_log_entry_type(SCT *sct, log_entry_type_t entry_type);
 
 /*
- * Set the log id of an SCT to point directly to the *logid specified.
+ * Set the log id of an SCT to point directly to the *log_id specified.
  * The SCT takes ownership of the specified pointer.
  * Returns 1 on success.
  */
@@ -180,7 +181,7 @@ sct_version_t SCT_get_version(const SCT *sct);
 log_entry_type_t SCT_get_log_entry_type(const SCT *sct);
 
 /*
- * Set *logid to point to the log id for the SCT. logid must not be NULL.
+ * Set *log_id to point to the log id for the SCT. log_id must not be NULL.
  * The SCT retains ownership of this pointer.
  * Returns length of the data pointed to.
  */
@@ -193,7 +194,8 @@ uint64_t SCT_get_timestamp(const SCT *sct);
 
 /*
  * Return the nid for the signature used by the SCT.
- * Currently NID_sha256WithRSAEncryption or NID_ecdsa_with_SHA256 (or NID_undef)
+ * Currently NID_sha256WithRSAEncryption or NID_ecdsa_with_SHA256
+ * (or NID_undef).
  */
 int SCT_get_signature_nid(const SCT *sct);
 


More information about the openssl-commits mailing list