VirtualBox

Ignore:
Timestamp:
Sep 4, 2024 11:32:47 AM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164679
Message:

openssl-3.1.7: Applied and adjusted our OpenSSL changes to 3.1.7. bugref:10757

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

Legend:

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

    • Property svn:mergeinfo
      •  

        old new  
        2525/vendor/openssl/3.0.3:151497-151729
        2626/vendor/openssl/3.0.7:154371
         27/vendor/openssl/3.1.7:164675-164677
  • trunk/src/libs/openssl-3.1.7/test/helpers/ssltestlib.c

    r104078 r105945  
    11/*
    2  * Copyright 2016-2023 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    44 * Licensed under the Apache License 2.0 (the "License").  You may not use
     
    88 */
    99
     10/*
     11 * We need access to the deprecated low level ENGINE APIs for legacy purposes
     12 * when the deprecated calls are not hidden
     13 */
     14#ifndef OPENSSL_NO_DEPRECATED_3_0
     15# define OPENSSL_SUPPRESS_DEPRECATED
     16#endif
     17
    1018#include <string.h>
    1119
     20#include <openssl/engine.h>
    1221#include "internal/nelem.h"
    1322#include "ssltestlib.h"
     
    11831192    SSL_free(clientssl);
    11841193}
     1194
     1195ENGINE *load_dasync(void)
     1196{
     1197#if !defined(OPENSSL_NO_TLS1_2) && !defined(OPENSSL_NO_DYNAMIC_ENGINE)
     1198    ENGINE *e;
     1199
     1200    if (!TEST_ptr(e = ENGINE_by_id("dasync")))
     1201        return NULL;
     1202
     1203    if (!TEST_true(ENGINE_init(e))) {
     1204        ENGINE_free(e);
     1205        return NULL;
     1206    }
     1207
     1208    if (!TEST_true(ENGINE_register_ciphers(e))) {
     1209        ENGINE_free(e);
     1210        return NULL;
     1211    }
     1212
     1213    return e;
     1214#else
     1215    return NULL;
     1216#endif
     1217}
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