Changeset 100447 in vbox
- Timestamp:
- Jul 8, 2023 6:50:27 PM (17 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/err.h
r100442 r100447 2270 2270 /** @name RTCr misc status codes. 2271 2271 * @{ */ 2272 /** The OpenSSL version is too old for the attempted operation. */ 2273 #define VERR_CR_OPENSSL_VERSION_TOO_OLD (-24395) 2272 2274 /** Failed to derivate key from password. */ 2273 2275 #define VERR_CR_PASSWORD_2_KEY_DERIVIATION_FAILED (-24396) -
trunk/src/VBox/Runtime/common/crypto/key-openssl.cpp
r100445 r100447 95 95 * with older openssl versions atm. Fortunately we only really needs 96 96 * it on Windows atm., so no problem. */ 97 rc = RTERRINFO_LOG_SET_F(pErrInfo, VERR_ NOT_SUPPORTED,97 rc = RTERRINFO_LOG_SET_F(pErrInfo, VERR_CR_OPENSSL_VERSION_TOO_OLD, 98 98 "OpenSSL version %#x is too old for IPRTs ECDSA code", OPENSSL_VERSION_NUMBER); 99 RT_NOREF(idKeyType, ppEvpNewKey); 99 100 #endif 100 101 } -
trunk/src/VBox/Runtime/common/crypto/pkix-signature-ossl.cpp
r100446 r100447 151 151 RT_NOREF_PV(pThis); 152 152 153 #if 1153 #if OPENSSL_VERSION_NUMBER >= 0x30000000 && !defined(LIBRESSL_VERSION_NUMBER) 154 154 PRTERRINFO const pErrInfo = NULL; 155 155 … … 220 220 #else 221 221 RT_NOREF(pDesc, pvState, hKey, hDigest, pvSignature, cbSignature); 222 return VERR_ NOT_IMPLEMENTED;222 return VERR_CR_OPENSSL_VERSION_TOO_OLD; 223 223 #endif 224 224 }
Note:
See TracChangeset
for help on using the changeset viewer.