]> granicus.if.org Git - php/commit
Fix CCM tag length setting for old OpenSSL versions
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 20 Oct 2020 08:50:50 +0000 (10:50 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 20 Oct 2020 08:50:50 +0000 (10:50 +0200)
commit1359f793ee2de31122697fda4ec0503a0d055170
treea48a354ba6fdf523fe8749be95b431f7990e3418
parent750a74ed9c8061681dba26ffc779c81b391b7718
Fix CCM tag length setting for old OpenSSL versions

While OpenSSL 1.1 allows unconditionally setting the CCM tag length
even for decryption, some older versions apparently do not. As such,
we do need to treat CCM and OCB separately after all.
ext/openssl/openssl.c