Changeset 67c35b9 in rtems-libbsd


Ignore:
Timestamp:
Mar 13, 2018, 2:02:55 PM (15 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
5cb01f277962d3127d364bf871f799b34e6b6be6, cc60cbeef68291b54f73c2d26fe3da4b837a8e06
Children:
b2a210c
Parents:
eae664e
git-author:
Christian Mauderer <christian.mauderer@…> (03/13/18 14:02:55)
git-committer:
Christian Mauderer <christian.mauderer@…> (03/21/18 08:14:25)
Message:

openssl: Provide deprecated functions.

Some applications (like the civetweb web server) still use functions
that are deprecated by openssl. If OPENSSL_NO_DEPRECATED is defined,
openssl will not provide these functions. This patch removes the define
so that the functions are available.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libbsd.py

    reae664e r67c35b9  
    36153615            'crypto/openssl/crypto/o_str.c',
    36163616        ],
    3617         mm.generator['source'](['-DOPENSSL_NO_DEPRECATED=1',
    3618                                 '-DOPENSSL_NO_EC_NISTP_64_GCC_128=1',
     3617        mm.generator['source'](['-DOPENSSL_NO_EC_NISTP_64_GCC_128=1',
    36193618                                '-DOPENSSL_NO_GMP=1',
    36203619                                '-DOPENSSL_NO_JPAKE=1',
  • libbsd_waf.py

    reae664e r67c35b9  
    13181318                cflags = cflags,
    13191319                includes = ['freebsd/crypto', 'freebsd/crypto/openssl', 'freebsd/crypto/openssl/crypto', 'freebsd/crypto/openssl/crypto/asn1', 'freebsd/crypto/openssl/crypto/evp', 'freebsd/crypto/openssl/crypto/modes'] + includes,
    1320                 defines = defines + ['NO_WINDOWS_BRAINDEATH=1', 'OPENSSL_DISABLE_OLD_DES_SUPPORT=1', 'OPENSSL_NO_DEPRECATED=1', 'OPENSSL_NO_EC_NISTP_64_GCC_128=1', 'OPENSSL_NO_GMP=1', 'OPENSSL_NO_JPAKE=1', 'OPENSSL_NO_LIBUNBOUND=1', 'OPENSSL_NO_MD2=1', 'OPENSSL_NO_RC5=1', 'OPENSSL_NO_RFC3779=1', 'OPENSSL_NO_SCTP=1', 'OPENSSL_NO_SSL2=1', 'OPENSSL_NO_SSL_TRACE=1', 'OPENSSL_NO_STORE=1', 'OPENSSL_NO_UNIT_TEST=1', 'OPENSSL_NO_WEAK_SSL_CIPHERS=1'],
     1320                defines = defines + ['NO_WINDOWS_BRAINDEATH=1', 'OPENSSL_DISABLE_OLD_DES_SUPPORT=1', 'OPENSSL_NO_EC_NISTP_64_GCC_128=1', 'OPENSSL_NO_GMP=1', 'OPENSSL_NO_JPAKE=1', 'OPENSSL_NO_LIBUNBOUND=1', 'OPENSSL_NO_MD2=1', 'OPENSSL_NO_RC5=1', 'OPENSSL_NO_RFC3779=1', 'OPENSSL_NO_SCTP=1', 'OPENSSL_NO_SSL2=1', 'OPENSSL_NO_SSL_TRACE=1', 'OPENSSL_NO_STORE=1', 'OPENSSL_NO_UNIT_TEST=1', 'OPENSSL_NO_WEAK_SSL_CIPHERS=1'],
    13211321                source = objs04_source)
    13221322    libbsd_use += ["objs04"]
Note: See TracChangeset for help on using the changeset viewer.