VirtualBox

Ignore:
Timestamp:
Mar 31, 2022 9:00:36 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150730
Message:

libs/openssl: Update to 3.0.2 and switch to it, bugref:10128

Location:
trunk/src/libs/openssl-3.0.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.0.2

    • Property svn:mergeinfo
      •  

        old new  
        1313/vendor/openssl/1.1.1k:145841-145843
        1414/vendor/openssl/3.0.1:150323-150324
        15 /vendor/openssl/current:147554-150322
         15/vendor/openssl/3.0.2:150728-150729
         16/vendor/openssl/current:147554-150727
  • trunk/src/libs/openssl-3.0.2/apps/speed.c

    r94082 r94404  
    11/*
    2  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
    44 *
     
    3030#include "apps.h"
    3131#include "progs.h"
     32#include "internal/numbers.h"
    3233#include <openssl/crypto.h>
    3334#include <openssl/rand.h>
     
    452453#endif /* OPENSSL_NO_SM2 */
    453454
    454 #define COND(unused_cond) (run && count < 0x7fffffff)
     455#define COND(unused_cond) (run && count < INT_MAX)
    455456#define COUNT(d) (count)
    456457
     
    17751776        if (buflen < 36)    /* size of random vector in RSA benchmark */
    17761777            buflen = 36;
     1778        if (INT_MAX - (MAX_MISALIGNMENT + 1) < buflen) {
     1779            BIO_printf(bio_err, "Error: buffer size too large\n");
     1780            goto end;
     1781        }
    17771782        buflen += MAX_MISALIGNMENT + 1;
    17781783        loopargs[i].buf_malloc = app_malloc(buflen, "input buffer");
     
    36183623        print_message(alg_name, 0, mblengths[j], seconds->sym);
    36193624        Time_F(START);
    3620         for (count = 0; run && count < 0x7fffffff; count++) {
     3625        for (count = 0; run && count < INT_MAX; count++) {
    36213626            unsigned char aad[EVP_AEAD_TLS1_AAD_LEN];
    36223627            EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM mb_param;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette