Skip to content

Commit acd312c

Browse files
authored
Merge pull request sfackler#2375 from rushilmehra/handle-empty-alpn
Fix typo in openssl-sys build script
2 parents 875f91d + d1d43ab commit acd312c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openssl-sys/build/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ See rust-openssl documentation for more information:
302302
let openssl_prefix = "RUST_VERSION_OPENSSL_";
303303
let new_openssl_prefix = "RUST_VERSION_NEW_OPENSSL_";
304304
let libressl_prefix = "RUST_VERSION_LIBRESSL_";
305-
let boringsl_prefix = "RUST_OPENSSL_IS_BORINGSSL";
305+
let boringssl_prefix = "RUST_OPENSSL_IS_BORINGSSL";
306306
let conf_prefix = "RUST_CONF_";
307307
if let Some(version) = line.strip_prefix(openssl_prefix) {
308308
openssl_version = Some(parse_version(version));
@@ -312,7 +312,7 @@ See rust-openssl documentation for more information:
312312
libressl_version = Some(parse_version(version));
313313
} else if let Some(conf) = line.strip_prefix(conf_prefix) {
314314
enabled.push(conf);
315-
} else if line.starts_with(boringsl_prefix) {
315+
} else if line.starts_with(boringssl_prefix) {
316316
is_boringssl = true;
317317
}
318318
}

0 commit comments

Comments
 (0)