diff --git a/vendor/openssl-sys-0.9.117/build/main.rs b/vendor/openssl-sys-0.9.117/build/main.rs
--- a/vendor/openssl-sys-0.9.117/build/main.rs
+++ b/vendor/openssl-sys-0.9.117/build/main.rs
@@ -163,6 +163,7 @@ fn main() {
     println!("cargo:rustc-check-cfg=cfg(libressl410)");
     println!("cargo:rustc-check-cfg=cfg(libressl420)");
     println!("cargo:rustc-check-cfg=cfg(libressl430)");
+    println!("cargo:rustc-check-cfg=cfg(libressl440)");
 
     println!("cargo:rustc-check-cfg=cfg(ossl101)");
     println!("cargo:rustc-check-cfg=cfg(ossl102)");
@@ -430,6 +431,7 @@ See rust-openssl documentation for more information:
             (4, 1, _) => ('4', '1', 'x'),
             (4, 2, _) => ('4', '2', 'x'),
             (4, 3, _) => ('4', '3', 'x'),
+            (4, 4, _) => ('4', '4', 'x'),
             _ => version_error(),
         };
 
