ssl/s3_cbc.c: uint64_t portability fix.
[openssl.git] / ssl / t1_lib.c
index a1a8badcda0b2d86b6dfdfc280a262ddd53764dc..92e8f88c53f09a71fb2496144fe0b98a2043537f 100644 (file)
@@ -3125,7 +3125,7 @@ static int tls_decrypt_ticket(SSL *s, const unsigned char *etick, int eticklen,
        HMAC_Update(&hctx, etick, eticklen);
        HMAC_Final(&hctx, tick_hmac, NULL);
        HMAC_CTX_cleanup(&hctx);
-       if (memcmp(tick_hmac, etick + eticklen, mlen))
+       if (CRYPTO_memcmp(tick_hmac, etick + eticklen, mlen))
                return 2;
        /* Attempt to decrypt session data */
        /* Move p after IV to start of encrypted ticket, update length */