Skip to content

dtls.c: force_renegotiation_info is always set #219

Description

@mrdeep1

If a DTLS client talks to a TinyDTLS server, but does not send any renegotiation information (i.e. no TLS_EMPTY_RENEGOTIATION_INFO_SCSV) in the ClientHello, then when the server calls dtls_check_tls_extension(), this returns an error.

dtls_check_tls_extension(...)
....
  if (config->user_parameters.force_renegotiation_info) {
     if (!config->renegotiation_info) {
       goto error;
     }
  }

Found when running a client using wolfSSL.

Any reason why force_renegotiation_info should be set for a server?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions