Changeset 50904 in vbox for trunk/src/VBox/Runtime/common/checksum/x509.cpp
- Timestamp:
- Mar 27, 2014 5:00:13 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/checksum/x509.cpp
r50887 r50904 82 82 BIO_free(bio_memory); 83 83 if(!*out_cert) 84 rc = VERR_ READING_CERT_FROM_BIO;84 rc = VERR_X509_READING_CERT_FROM_BIO; 85 85 86 86 return rc; … … 204 204 if (evp_key == NULL) 205 205 { 206 rc = VERR_ EXTRACT_PUBKEY_FROM_CERT;206 rc = VERR_X509_EXTRACT_PUBKEY_FROM_CERT; 207 207 break; 208 208 } … … 211 211 if (rsa_key == NULL) 212 212 { 213 rc = VERR_ EXTRACT_RSA_FROM_PUBLIC_KEY;213 rc = VERR_X509_EXTRACT_RSA_FROM_PUBLIC_KEY; 214 214 break; 215 215 } … … 224 224 if (rc != 1) 225 225 { 226 rc = VERR_ RSA_VERIFICATION_FUILURE;226 rc = VERR_X509_RSA_VERIFICATION_FUILURE; 227 227 } 228 228 … … 274 274 if(loc == -1) 275 275 { 276 rc = VERR_ NO_BASIC_CONSTARAINTS;276 rc = VERR_X509_NO_BASIC_CONSTARAINTS; 277 277 break; 278 278 } … … 281 281 if(!ext) 282 282 { 283 rc = VERR_ GETTING_EXTENSION_FROM_CERT;283 rc = VERR_X509_GETTING_EXTENSION_FROM_CERT; 284 284 break; 285 285 } … … 288 288 if(!extdata) 289 289 { 290 rc = VERR_ GETTING_DATA_FROM_EXTENSION;290 rc = VERR_X509_GETTING_DATA_FROM_EXTENSION; 291 291 break; 292 292 } … … 295 295 if(!X509V3_EXT_print(bio_memory, ext, 0, 0)) 296 296 { 297 rc = VERR_ PRINT_EXTENSION_TO_BIO;297 rc = VERR_X509_PRINT_EXTENSION_TO_BIO; 298 298 break; 299 299 } … … 364 364 else 365 365 { 366 rc = VINF_ NOT_SELFSIGNED_X509_CERTIFICATE;366 rc = VINF_X509_NOT_SELFSIGNED_CERTIFICATE; 367 367 } 368 368 } 369 369 else 370 370 { 371 rc = VINF_ NOT_SELFSIGNED_X509_CERTIFICATE;371 rc = VINF_X509_NOT_SELFSIGNED_CERTIFICATE; 372 372 } 373 373
Note:
See TracChangeset
for help on using the changeset viewer.