Skip to content

Commit

Permalink
Allow bad style on pkey.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunn1313 committed Feb 11, 2020
1 parent ec46d27 commit 16d93a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openssl/src/pkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 16d93a9

Please sign in to comment.