Changeset 74342 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Sep 18, 2018 2:16:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/ssl-openssl.cpp
r74340 r74342 187 187 if (rcOssl != 0) 188 188 return VINF_SUCCESS; 189 return ! RTFileExists(pszFile) ? VERR_FILE_NOT_FOUND : VERR_OPEN_FAILED; /** @todo Better status codes */189 return !pszFile || !*pszFile || !RTFileExists(pszFile) ? VERR_FILE_NOT_FOUND : VERR_OPEN_FAILED; /** @todo Better status codes */ 190 190 } 191 191 … … 202 202 if (rcOssl != 0) 203 203 return VINF_SUCCESS; 204 return ! RTFileExists(pszFile) ? VERR_FILE_NOT_FOUND : VERR_OPEN_FAILED; /** @todo Better status codes */204 return !pszFile || !*pszFile || !RTFileExists(pszFile) ? VERR_FILE_NOT_FOUND : VERR_OPEN_FAILED; /** @todo Better status codes */ 205 205 } 206 206 … … 216 216 return VINF_SUCCESS; 217 217 218 if ( pszFile &&!RTFileExists(pszFile))218 if (!pszFile || !*pszFile || !RTFileExists(pszFile)) 219 219 return VERR_FILE_NOT_FOUND; 220 220 return VERR_OPEN_FAILED; /** @todo Better status codes */
Note:
See TracChangeset
for help on using the changeset viewer.