VirtualBox

Changeset 87167 in vbox for trunk/src/libs/openssl-1.1.1i


Ignore:
Timestamp:
Jan 4, 2021 2:54:24 PM (4 years ago)
Author:
vboxsync
Message:

Forward ported r142071: openssl-1.1.1i build fix for VC++ 2010. bugref:9885

Location:
trunk/src/libs/openssl-1.1.1i
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-1.1.1i

    • Property svn:mergeinfo
      •  

        old new  
         1/branches/VBox-6.1/src/libs/openssl-1.1.1i:142071
        12/trunk/src/libs/openssl-1.1.1b:130239-131640
        23/trunk/src/libs/openssl-1.1.1c:131725-133540
  • trunk/src/libs/openssl-1.1.1i/crypto/ec/ecp_nistz256.c

    r87083 r87167  
    10711071            infty = (p.p.X[0] | p.p.X[1] | p.p.X[2] | p.p.X[3] |
    10721072                     p.p.Y[0] | p.p.Y[1] | p.p.Y[2] | p.p.Y[3]);
     1073#if !defined(_MSC_VER) || P256_LIMBS != 4 /* vbox: VC++ 2010 complains about out of bounds accesses here in debug builds. */
    10731074            if (P256_LIMBS == 8)
    10741075                infty |= (p.p.X[4] | p.p.X[5] | p.p.X[6] | p.p.X[7] |
    10751076                          p.p.Y[4] | p.p.Y[5] | p.p.Y[6] | p.p.Y[7]);
     1077#endif
    10761078
    10771079            infty = 0 - is_zero(infty);
     
    10821084            p.p.Z[2] = ONE[2] & infty;
    10831085            p.p.Z[3] = ONE[3] & infty;
     1086#if !defined(_MSC_VER) || P256_LIMBS != 4 /* vbox: VC++ 2010 complains about out of bounds accesses here in debug builds. */
    10841087            if (P256_LIMBS == 8) {
    10851088                p.p.Z[4] = ONE[4] & infty;
     
    10881091                p.p.Z[7] = ONE[7] & infty;
    10891092            }
     1093#endif
    10901094
    10911095            for (i = 1; i < 37; i++) {
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