VirtualBox

Changeset 91138 in vbox


Ignore:
Timestamp:
Sep 7, 2021 11:52:57 AM (3 years ago)
Author:
vboxsync
Message:

libs/openssl: Disable SM2 and SM4 like Oracle Linux does.

Location:
trunk/src/libs/openssl-1.1.1k
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-1.1.1k/crypto/sm2/Makefile.kmk

    r90293 r91138  
    1414include $(KBUILD_PATH)/subheader.kmk
    1515
     16if 0 # Disabled following OL's example.
    1617LIBRARIES += crypto_sm2
    1718crypto_sm2_TEMPLATE = SUBLIBCRYPTO
     
    2324        sm2_sign.c
    2425$(evalcall VBOX_OPENSSL_X86,crypto_sm2)
     26endif
    2527
    2628include $(FILE_KBUILD_SUB_FOOTER)
  • trunk/src/libs/openssl-1.1.1k/crypto/sm4/Makefile.kmk

    r90293 r91138  
    1414include $(KBUILD_PATH)/subheader.kmk
    1515
     16if 0 # Disabled following OL's example.
    1617LIBRARIES += crypto_sm4
    1718crypto_sm4_TEMPLATE = SUBLIBCRYPTO
     
    2021        sm4.c
    2122$(evalcall VBOX_OPENSSL_X86,crypto_sm4)
     23endif
    2224
    2325include $(FILE_KBUILD_SUB_FOOTER)
  • trunk/src/libs/openssl-1.1.1k/include/openssl/opensslconf.h

    r90293 r91138  
    6666#ifndef OPENSSL_NO_RMD160
    6767# define OPENSSL_NO_RMD160
     68#endif
     69#ifndef OPENSSL_NO_SM2
     70# define OPENSSL_NO_SM2     /* Following Oracle Linux' lead and disable this. */
     71#endif
     72#ifndef OPENSSL_NO_SM4
     73# define OPENSSL_NO_SM4     /* Following Oracle Linux' lead and disable this. */
    6874#endif
    6975#ifndef OPENSSL_NO_WHIRLPOOL
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