Re: upgrading the openSSL version from 1.0.2j to 1.1.1c - api changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 13/11/2019 09:22, Umamaheswari Nagarajan wrote:
> The following apis seems to be unavailable or modified in 1.1.1c,
> 
> ENGINE_cleanup

This still exists, but was converted from a function to a macro that
does nothing. You no longer need to call it. OpenSSL 1.1.0+ cleans
itself up automatically.

> RAND_cleanup

As above.

> CRYPTO_lock

This function was used to lock an internal OpenSSL lock. These locks are
not exposed any more. You will need to rewrite your code to not need
this function. There are some new lock related functions that exist that
are essentially thin wrappers around the platform threading library that
is in use. Depending on what you need it for they might suffice:

CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void);
int CRYPTO_THREAD_read_lock(CRYPTO_RWLOCK *lock);
int CRYPTO_THREAD_write_lock(CRYPTO_RWLOCK *lock);
int CRYPTO_THREAD_unlock(CRYPTO_RWLOCK *lock);
void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);

https://www.openssl.org/docs/man1.1.1/man3/CRYPTO_THREAD_lock_new.html


> 
> RSA_PKCS1_SSLeay

Now called RSA_PKCS1_OpenSSL().


> DH_get_ex_new_index> DSA_get_ex_new_index
> RSA_get_ex_new_index

All of these still exist but were just converted from functions to macros.

Matt



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux