Changeset 105945 in vbox for trunk/src/libs/openssl-3.1.7/test/helpers/ssltestlib.c
- Timestamp:
- Sep 4, 2024 11:32:47 AM (8 months ago)
- svn:sync-xref-src-repo-rev:
- 164679
- 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 25 25 /vendor/openssl/3.0.3:151497-151729 26 26 /vendor/openssl/3.0.7:154371 27 /vendor/openssl/3.1.7:164675-164677
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.1.7/test/helpers/ssltestlib.c
r104078 r105945 1 1 /* 2 * Copyright 2016-202 3The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 4 * Licensed under the Apache License 2.0 (the "License"). You may not use … … 8 8 */ 9 9 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 10 18 #include <string.h> 11 19 20 #include <openssl/engine.h> 12 21 #include "internal/nelem.h" 13 22 #include "ssltestlib.h" … … 1183 1192 SSL_free(clientssl); 1184 1193 } 1194 1195 ENGINE *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.