Commit 30d1bab1 authored by Matt Caswell's avatar Matt Caswell
Browse files

Silence some clang warnings

parent 83750d9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ static int dtlslisten = 0;
static char *psk_identity = "Client_identity";
char *psk_key = NULL;           /* by default PSK is not used */

int early_data = 0;
static int early_data = 0;

static unsigned int psk_server_cb(SSL *ssl, const char *identity,
                                  unsigned char *psk,
+1 −1
Original line number Diff line number Diff line
@@ -681,7 +681,7 @@ int tls_parse_ctos_psk(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
    SSL_SESSION *sess = NULL;
    unsigned int id, i;
    const EVP_MD *md = NULL;
    uint32_t ticket_age, now, agesec, agems;
    uint32_t ticket_age = 0, now, agesec, agems;

    /*
     * If we have no PSK kex mode that we recognise then we can't resume so