Merge pull request #1232 from rbtying/warn_non_snake

Allow bad style on EVP_PKEY_up_ref  in pkey.rs
This commit is contained in:
Steven Fackler 2020-02-11 19:18:27 -05:00 committed by GitHub
commit 2dec15dbaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -627,6 +627,7 @@ cfg_if! {
if #[cfg(any(ossl110, libressl270))] {
use ffi::EVP_PKEY_up_ref;
} else {
#[allow(bad_style)]
unsafe extern "C" fn EVP_PKEY_up_ref(pkey: *mut ffi::EVP_PKEY) {
ffi::CRYPTO_add_lock(
&mut (*pkey).references,