diff --git a/Cargo.toml b/Cargo.toml index 0d700873..c9ff19b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ path = "src/lib.rs" [dependencies.openssl] git = "https://github.com/sfackler/rust-openssl" -rev = "bfd8fa2d4c494b1dbbaf6a57ee195cd8c8c0ab76" +rev = "8c40c2ef3527fbcf22f11a517422b371b4626852" [dependencies.phf_mac] diff --git a/src/lib.rs b/src/lib.rs index 640f6490..7c99429b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1081,7 +1081,7 @@ impl<'conn> PostgresTransaction<'conn> { row_limit: i32) -> PostgresResult> { - if self.conn as *_ != stmt.conn as *_ { + if self.conn as *const _ != stmt.conn as *const _ { return Err(PgWrongConnection); } check_desync!(self.conn); diff --git a/submodules/rust-openssl b/submodules/rust-openssl index 5fb23612..8c40c2ef 160000 --- a/submodules/rust-openssl +++ b/submodules/rust-openssl @@ -1 +1 @@ -Subproject commit 5fb236128c4c552ace49c2d1f72a8996ee8d05d6 +Subproject commit 8c40c2ef3527fbcf22f11a517422b371b4626852