[OpenSSL-3.0LTS] TNF local patch - change RC2_encrypt() prototype and use uint32_t instead of unsigned long

Issue #387 wontfix
Takehiko NOZAKI repo owner created an issue

T/O

Comments (3)

  1. Takehiko NOZAKI reporter

    original commit messgage:

    source-changes: CVS commit: sharesrc (netbsd.org)

    repair openssl (libcrypto) for non-32bit architecture.
    don't use unsigned long where 32bit unsigned variable is asked for.
    use u_int32_t. (not sure if uint32_t is better or not, but anyway,
    u_int32_t <-> uint32_t should not raise binary compatibility issue)
    PR10921.

    TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
    (do not change size of variable though)

    XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
    however, that needs a lot of work and will make future openssl upgrade harder.

    remove RC5 and IDEA by default. build them separately as
    libcrypto_{rc5,idea}.a. put dummy function, which is "warning to stderr
    and exit(1)". NOCRYPTO_{RC5,IDEA} are obsoleted.
    PR10883.

  2. Log in to comment