diff options
author | Rob Percival <robpercival@google.com> | 2016-09-14 20:26:23 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-11-15 16:12:41 -0500 |
commit | 08e588b7d5cefbfd107c88416900165a28a5b59e (patch) | |
tree | f990718de4f95dd1596e6dbcfa388ed03d809359 /crypto | |
parent | 5e08606619c0b0e065f1ffa12ce6411f321ed174 (diff) | |
download | openssl-08e588b7d5cefbfd107c88416900165a28a5b59e.tar.gz |
Convert C++ comments to C-style comments
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1554)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ct/ct_policy.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/crypto/ct/ct_policy.c b/crypto/ct/ct_policy.c index 0f27443971..0d7b346387 100644 --- a/crypto/ct/ct_policy.c +++ b/crypto/ct/ct_policy.c @@ -17,10 +17,12 @@ #include "ct_locl.h" -// Number of seconds in the future that an SCT timestamp can be, by default, -// without being considered invalid. This is added to time() when setting a -// default value for CT_POLICY_EVAL_CTX.epoch_time_in_ms. -// It can be overridden by calling CT_POLICY_EVAL_CTX_set_time(). +/* + * Number of seconds in the future that an SCT timestamp can be, by default, + * without being considered invalid. This is added to time() when setting a + * default value for CT_POLICY_EVAL_CTX.epoch_time_in_ms. + * It can be overridden by calling CT_POLICY_EVAL_CTX_set_time(). + */ static const time_t SCT_CLOCK_DRIFT_TOLERANCE = 300; CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void) @@ -32,7 +34,7 @@ CT_POLICY_EVAL_CTX *CT_POLICY_EVAL_CTX_new(void) return NULL; } - // time(NULL) shouldn't ever fail, so don't bother checking for -1. + /* time(NULL) shouldn't ever fail, so don't bother checking for -1. */ ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) * 1000; |