VirtualBox

Changeset 50904 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Mar 27, 2014 5:00:13 AM (11 years ago)
Author:
vboxsync
Message:

added prefix X509 into all error definitions related to X509

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r50887 r50904  
    21342134                switch(vrc)
    21352135                {
    2136                     case VERR_READING_CERT_FROM_BIO:
     2136                    case VERR_X509_READING_CERT_FROM_BIO:
    21372137                        errStrDesc = "Error during reading a certificate in PEM format from BIO ";
    21382138                        break;
    2139                     case VERR_EXTRACT_PUBKEY_FROM_CERT:
     2139                    case VERR_X509_EXTRACT_PUBKEY_FROM_CERT:
    21402140                        errStrDesc = "Error during extraction a public key from the certificate ";
    21412141                        break;
    2142                     case VERR_EXTRACT_RSA_FROM_PUBLIC_KEY:
     2142                    case VERR_X509_EXTRACT_RSA_FROM_PUBLIC_KEY:
    21432143                        errStrDesc = "Error during extraction RSA from the public key ";
    21442144                        break;
    2145                     case VERR_RSA_VERIFICATION_FUILURE:
     2145                    case VERR_X509_RSA_VERIFICATION_FUILURE:
    21462146                        errStrDesc = "RSA verification failure ";
    21472147                        break;
    2148                     case VERR_NO_BASIC_CONSTARAINTS:
     2148                    case VERR_X509_NO_BASIC_CONSTARAINTS:
    21492149                        errStrDesc = "Basic constraints were not found ";
    21502150                        break;
    2151                     case VERR_GETTING_EXTENSION_FROM_CERT:
     2151                    case VERR_X509_GETTING_EXTENSION_FROM_CERT:
    21522152                        errStrDesc = "Error during getting extensions from the certificate ";
    21532153                        break;
    2154                     case VERR_GETTING_DATA_FROM_EXTENSION:
     2154                    case VERR_X509_GETTING_DATA_FROM_EXTENSION:
    21552155                        errStrDesc = "Error during extraction data from the extension ";
    21562156                        break;
    2157                     case VERR_PRINT_EXTENSION_TO_BIO:
     2157                    case VERR_X509_PRINT_EXTENSION_TO_BIO:
    21582158                        errStrDesc = "Error during print out an extension to BIO ";
    21592159                        break;
     
    21692169        else
    21702170        {
    2171             if(vrc == VINF_NOT_SELFSIGNED_X509_CERTIFICATE)
     2171            if(vrc == VINF_X509_NOT_SELFSIGNED_CERTIFICATE)
    21722172            {
    21732173                setWarning(VBOX_E_FILE_ERROR,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette