Allow bad style on pkey.rs

This commit is contained in:
Nipunn Koorapati 2020-02-11 14:28:53 -08:00
parent ec46d27f83
commit 16d93a9372
1 changed files with 1 additions and 0 deletions

View File

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