VirtualBox

Ignore:
Timestamp:
Jul 10, 2023 11:20:32 PM (19 months ago)
Author:
vboxsync
Message:

IPRT/PKCS8: Some corrections and adjustments (bugref:10299):

  • Always put curly brackets around case bodies that declares variables.
  • Removed copy & paste RTCRRSA_MAX_MODULUS_BITS define from pkcs8-internal.h.
  • We don't need to compile the PKCS8 files for ring-0 libraries, since these does not include the key-file.cpp that needs them.
  • Use RTCRX509ALGORITHMIDENTIFIERID_RSA instead of "1.2.840.113549.1.1.1".
  • rTCrPkcs8PrivateKeyInfo should be RTCrPkcs8PrivateKeyInfo in pkcs8-templace.h.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/crypto/key-file.cpp

    r100493 r100494  
    480480            if (RT_SUCCESS(rc))
    481481            {
    482                 /* 
    483                  * Load the private key according to it's algorithm. 
     482                /*
     483                 * Load the private key according to it's algorithm.
    484484                 * We currently only support RSA (pkcs1-RsaEncryption).
    485485                 */
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