diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2022-09-15 21:25:05 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-09-15 21:25:05 -0400 |
commit | 18bbdbbebabe0290afa622956dda67a3461f0b8e (patch) | |
tree | 2abecbb968f87e3f945cc9569c1f03c3ba0a7c50 /src/mod_mbedtls.c | |
parent | 47df989c6dd73952141d909dfe0e39aaeba99ec3 (diff) | |
download | lighttpd-git-18bbdbbebabe0290afa622956dda67a3461f0b8e.tar.gz |
[multiple] quiet coverity warnings using casts
Diffstat (limited to 'src/mod_mbedtls.c')
-rw-r--r-- | src/mod_mbedtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mbedtls.c b/src/mod_mbedtls.c index 45b04f25..d6299cff 100644 --- a/src/mod_mbedtls.c +++ b/src/mod_mbedtls.c @@ -380,7 +380,7 @@ mod_mbedtls_session_ticket_key_check (plugin_data *p, const unix_time64_t cur_ts mbedtls_ssl_ticket_key *key = ctx->keys + ctx->active; /* set generation_time to cur_ts instead of stek->active_ts * since ctx->active was updated */ - key->generation_time = cur_ts; + key->generation_time = (uint32_t)cur_ts; memcpy(key->name, stek->tick_key_name, sizeof(key->name)); /* With GCM and CCM, same context can encrypt & decrypt */ int rc = mbedtls_cipher_setkey(&key->ctx, stek->tick_aes_key, |