Changeset 63853 in vbox
- Timestamp:
- Sep 15, 2016 3:37:57 PM (8 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/VBox/VBoxRTDeps.cpp
r63831 r63853 77 77 (PFNRT)i2d_X509, 78 78 (PFNRT)i2d_PublicKey, 79 #if OPENSSL_VERSION_NUMBER < 0x10100000 79 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) 80 80 (PFNRT)RSA_generate_key, 81 81 #endif 82 82 (PFNRT)RSA_generate_key_ex, 83 #if OPENSSL_VERSION_NUMBER < 0x10100000 83 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) 84 84 (PFNRT)DH_generate_parameters, 85 85 #endif 86 86 (PFNRT)DH_generate_parameters_ex, 87 87 (PFNRT)RAND_load_file, 88 #if OPENSSL_VERSION_NUMBER < 0x10100000 88 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) 89 89 (PFNRT)CRYPTO_set_dynlock_create_callback, 90 90 (PFNRT)CRYPTO_set_dynlock_lock_callback, … … 97 97 (PFNRT)RTBldCfgRevision, 98 98 (PFNRT)SSL_free, 99 #if OPENSSL_VERSION_NUMBER < 0x10100000 99 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) 100 100 (PFNRT)SSL_library_init, 101 101 (PFNRT)SSL_load_error_strings, … … 104 104 (PFNRT)SSL_CTX_use_certificate_file, 105 105 (PFNRT)SSLv23_method, 106 #if OPENSSL_VERSION_NUMBER < 0x10100000 106 #if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) 107 107 (PFNRT)TLSv1_server_method, 108 108 #endif -
trunk/src/VBox/Runtime/common/crypto/pkix-verify.cpp
r63831 r63853 124 124 "EVP_get_digestbyname failed on %s (%s)", pszAlogSn, pAlgorithm->szObjId); 125 125 126 # if OPENSSL_VERSION_NUMBER >= 0x10100000 126 # if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) 127 127 128 128 EVP_MD_CTX *pEvpMdCtx = EVP_MD_CTX_create(); … … 174 174 EVP_MD_CTX_destroy(pEvpMdCtx); 175 175 176 # else /* OPENSSL_VERSION_NUMBER < 0x1010000 */176 # else /* OPENSSL_VERSION_NUMBER < 0x1010000 || defined(LIBRESSL_VERSION_NUMBER) */ 177 177 178 178 /* Initialize the EVP message digest context. */ … … 219 219 EVP_MD_CTX_cleanup(&EvpMdCtx); 220 220 221 # endif /* OPENSSL_VERSION_NUMBER < 0x10100000 */221 # endif /* OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) */ 222 222 223 223 /* … … 311 311 "EVP_get_digestbyname failed on %s (%s)", pszAlogSn, pszAlgObjId); 312 312 313 # if OPENSSL_VERSION_NUMBER >= 0x10100000 313 # if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER) 314 314 315 315 /* Create an EVP public key. */ … … 371 371 rcOssl = RTErrInfoSetF(pErrInfo, VERR_NO_MEMORY, "EVP_PKEY_new(%d) failed", iAlgoNid); 372 372 373 # else /* OPENSSL_VERSION_NUMBER < 0x1010000 */373 # else /* OPENSSL_VERSION_NUMBER < 0x1010000 || defined(LIBRESSL_VERSION_NUMBER) */ 374 374 375 375 /* Create an EVP public key. */ … … 430 430 rcOssl = RTErrInfoSetF(pErrInfo, VERR_NO_MEMORY, "EVP_PKEY_new(%d) failed", pEvpMdType->required_pkey_type[0]); 431 431 432 # endif /* OPENSSL_VERSION_NUMBER < 0x1010000 */432 # endif /* OPENSSL_VERSION_NUMBER < 0x1010000 || defined(LIBRESSL_VERSION_NUMBER) */ 433 433 434 434 /*
Note:
See TracChangeset
for help on using the changeset viewer.