VirtualBox

Ignore:
Timestamp:
Nov 2, 2022 7:40:16 AM (2 years ago)
Author:
vboxsync
Message:

libs: Switch to openssl-3.0.7, bugref:10317

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

Legend:

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

    • Property svn:mergeinfo
      •  

        old new  
        1515/vendor/openssl/3.0.2:150728-150729
        1616/vendor/openssl/3.0.3:151497-151729
        17 /vendor/openssl/current:147554-151496
         17/vendor/openssl/3.0.7:154371
         18/vendor/openssl/current:147554-154370
  • trunk/src/libs/openssl-3.0.7/crypto/cmac/cmac.c

    r94082 r97372  
    11/*
    2  * Copyright 2010-2021 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2010-2022 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    138138        /* If anything fails then ensure we can't use this ctx */
    139139        ctx->nlast_block = -1;
    140         if (!EVP_CIPHER_CTX_get0_cipher(ctx->cctx))
    141             return 0;
    142         if (!EVP_CIPHER_CTX_set_key_length(ctx->cctx, keylen))
     140        if (EVP_CIPHER_CTX_get0_cipher(ctx->cctx) == NULL)
     141            return 0;
     142        if (EVP_CIPHER_CTX_set_key_length(ctx->cctx, keylen) <= 0)
    143143            return 0;
    144144        if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, key, zero_iv))
Note: See TracChangeset for help on using the changeset viewer.

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