Skip to content

Commit 2fd3251

Browse files
author
Gleb Pomykalov
committed
Get back to master libc
1 parent 33e2bb4 commit 2fd3251

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exclude = [
1616
]
1717

1818
[dependencies]
19-
libc = { git = "https://github.com/glebpom/libc", rev = "crypto-api-constant-types-fix" }
19+
libc = { git = "https://github.com/rust-lang/libc" }
2020
bitflags = "1.0"
2121
cfg-if = "0.1.0"
2222
void = "1.0.2"

src/sys/socket/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ pub enum ControlMessage<'a> {
721721
target_os = "android",
722722
target_os = "linux",
723723
))]
724-
AlgSetOp(&'a u32),
724+
AlgSetOp(&'a libc::c_int),
725725
/// Set the length of associated authentication data (AAD) (applicable only to AEAD algoritms)
726726
/// for `AF_ALG` crypto API.
727727
/// AF_ALG is only supported on linux and android.

0 commit comments

Comments
 (0)