cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.19k stars 470 forks source link

update min openssl version to 1.1.0 #629

Closed pabuhler closed 1 year ago

pabuhler commented 1 year ago

As of commit #593 the minimal supported version is 1.1.0, this updates build files to check for that version. This also means the check for a broken openssl cleans function is obsolete so it is removed.

597

JonathanLennox commented 1 year ago

It looks like there are still OPENSSL_VERSION_NUMBER < 0x10100000L checks in aes_gcm_ossl.c and aes_icm_ossl.c ... presumably with this change those can be removed too?

JonathanLennox commented 1 year ago

For the autotools, it'd be good to have autoconf check for some openssl 1.1.0-only symbol that libsrtp uses...possibly HMAC_CTX_new or EVP_CIPHER_CTX_reset.

pabuhler commented 1 year ago

@JonathanLennox HMAC_CTX_new is leaving us with OpenSSL 3 so I went with EVP_CIPHER_CTX_reset .