Changeset 73706 in vbox for trunk/src/VBox
- Timestamp:
- Aug 16, 2018 9:40:01 AM (6 years ago)
- Location:
- trunk/src/VBox/Runtime/common/crypto
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/pkix-sign.cpp
r73672 r73706 241 241 * Check the result. 242 242 */ 243 if ( RT_SUCCESS(rcIprt) && RT_SUCCESS(rcOssl))244 return VINF_SUCCESS;245 if (RT_FAILURE_NP(rcIprt) && RT_FAILURE_NP(rcOssl))243 if ( (RT_SUCCESS(rcIprt) && RT_SUCCESS(rcOssl)) 244 || (RT_FAILURE_NP(rcIprt) && RT_FAILURE_NP(rcOssl)) 245 || (RT_SUCCESS(rcIprt) && rcOssl == VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN_EVP) ) 246 246 return rcIprt; 247 247 AssertMsgFailed(("rcIprt=%Rrc rcOssl=%Rrc\n", rcIprt, rcOssl)); -
trunk/src/VBox/Runtime/common/crypto/pkix-verify.cpp
r73705 r73706 152 152 * Check the result. 153 153 */ 154 if ( RT_SUCCESS(rcIprt) && RT_SUCCESS(rcOssl)154 if ( (RT_SUCCESS(rcIprt) && RT_SUCCESS(rcOssl)) 155 155 || (RT_FAILURE_NP(rcIprt) && RT_FAILURE_NP(rcOssl)) 156 156 || (RT_SUCCESS(rcIprt) && rcOssl == VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN_EVP) ) … … 274 274 * Check the result. 275 275 */ 276 if ( RT_SUCCESS(rcIprt) && RT_SUCCESS(rcOssl)276 if ( (RT_SUCCESS(rcIprt) && RT_SUCCESS(rcOssl)) 277 277 || (RT_FAILURE_NP(rcIprt) && RT_FAILURE_NP(rcOssl)) 278 278 || (RT_SUCCESS(rcIprt) && rcOssl == VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN_EVP) )
Note:
See TracChangeset
for help on using the changeset viewer.