Browse Source

[mod_gnutls] fix alt code for coverity

master
Glenn Strauss 2 months ago
parent
commit
b757e738fd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/mod_gnutls.c

+ 1
- 1
src/mod_gnutls.c View File

@ -398,7 +398,7 @@ mod_gnutls_session_ticket_key_check (server *srv, const plugin_data *p, const ti
memcpy(data+TLSEXT_KEYNAME_LENGTH+TLSEXT_TICK_KEY_LENGTH,
stek->tick_aes_key,
TICKET_MASTER_KEY_SIZE
- TLSEXT_KEYNAME_LENGTH + TLSEXT_TICK_KEY_LENGTH);
- (TLSEXT_KEYNAME_LENGTH + TLSEXT_TICK_KEY_LENGTH));
gnutls_memset(stek->tick_key_name, 0, TLSEXT_KEYNAME_LENGTH);
gnutls_memset(stek->tick_hmac_key, 0, TLSEXT_TICK_KEY_LENGTH);
gnutls_memset(stek->tick_aes_key, 0, TLSEXT_TICK_KEY_LENGTH);


Loading…
Cancel
Save