Skip to content

Commit ee44daf

Browse files
authored
Merge pull request #1976 from sfackler/sfackler-patch-1
Remove duplicate binding definitions
2 parents e5a4958 + 3834005 commit ee44daf

File tree

1 file changed

+0
-16
lines changed
  • openssl-sys/src/handwritten

1 file changed

+0
-16
lines changed

openssl-sys/src/handwritten/evp.rs

-16
Original file line numberDiff line numberDiff line change
@@ -413,22 +413,6 @@ cfg_if! {
413413
pub fn EVP_PKEY_get_bits(key: *const EVP_PKEY) -> c_int;
414414
pub fn EVP_PKEY_get_security_bits(key: *const EVP_PKEY) -> c_int;
415415
}
416-
417-
#[inline]
418-
pub unsafe fn EVP_PKEY_id(pkey: *const EVP_PKEY) -> c_int {
419-
EVP_PKEY_get_id(pkey)
420-
}
421-
422-
#[inline]
423-
pub unsafe fn EVP_PKEY_bits(pkey: *const EVP_PKEY) -> c_int {
424-
EVP_PKEY_get_bits(pkey)
425-
}
426-
427-
#[inline]
428-
pub unsafe fn EVP_PKEY_security_bits(pkey: *const EVP_PKEY) -> c_int {
429-
EVP_PKEY_get_security_bits(pkey)
430-
}
431-
432416
} else {
433417
extern "C" {
434418
pub fn EVP_PKEY_id(pkey: *const EVP_PKEY) -> c_int;

0 commit comments

Comments
 (0)