[OpenSSL-3.0LTS] TNF local patch - change RC5_{en,de}crypt() prototype and use RC5_32_INT instead of unsigned long

Issue #388 wontfix
Takehiko NOZAKI repo owner created an issue

T/O

Comments (4)

  1. Takehiko NOZAKI reporter

    they fogot to change rc5.h

    OSSL_DEPRECATEDIN_3_0 void RC5_32_encrypt(unsigned long *data, RC5_32_KEY *key);
    OSSL_DEPRECATEDIN_3_0 void RC5_32_decrypt(unsigned long *data, RC5_32_KEY *key);
    

    what a idiot.

  2. 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.

  3. Log in to comment