VirtualBox

Changeset 74711 in vbox for trunk


Ignore:
Timestamp:
Oct 9, 2018 9:49:33 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/crypto: deal with system openssl where RC4_INT is defined as something other than "unsigned int" (on some systems it's "unsigned char", even though that may cost performance, according to a comment in the header)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/crypto/rc4.h

    r74295 r74711  
    4040typedef union RTCRRC4KEY
    4141{
    42     uint64_t    au64Padding[(2 + 256) / 2];
     42    uint64_t    au64Padding[(2 + 256) * sizeof(RC4_INT) / 8];
    4343#ifdef HEADER_RC4_H
    4444    RC4_KEY     Ossl;
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