Skip to content

Commit 3c2cb3e

Browse files
committed
chore: fix typo
1 parent c4beb12 commit 3c2cb3e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nginx-sys/build.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ use flate2::read::GzDecoder;
1717
use tar::Archive;
1818
use which::which;
1919

20-
const UBUNTU_KEYSEVER: &str = "hkps://keyserver.ubuntu.com";
20+
const UBUNTU_KEYSERVER: &str = "hkps://keyserver.ubuntu.com";
2121
/// The default version of zlib to use if the `ZLIB_VERSION` environment variable is not present
2222
const ZLIB_DEFAULT_VERSION: &str = "1.3.1";
2323
/// Key 1: Mark Adler's public key. For zlib 1.3.1 and earlier
24-
const ZLIB_GPG_SERVER_AND_KEY_ID: (&str, &str) = (UBUNTU_KEYSEVER, "5ED46A6721D365587791E2AA783FCD8E58BCAFBA");
24+
const ZLIB_GPG_SERVER_AND_KEY_ID: (&str, &str) = (UBUNTU_KEYSERVER, "5ED46A6721D365587791E2AA783FCD8E58BCAFBA");
2525
const ZLIB_DOWNLOAD_URL_PREFIX: &str = "https://github.com/madler/zlib/releases/download";
2626
/// The default version of pcre to use if the `PCRE2_VERSION` environment variable is not present
2727
const PCRE1_DEFAULT_VERSION: &str = "8.45";
2828
const PCRE2_DEFAULT_VERSION: &str = "10.42";
2929
/// Key 1: Phillip Hazel's public key. For PCRE2 10.42 and earlier
30-
const PCRE2_GPG_SERVER_AND_KEY_ID: (&str, &str) = (UBUNTU_KEYSEVER, "45F68D54BBE23FB3039B46E59766E084FB0F43D8");
30+
const PCRE2_GPG_SERVER_AND_KEY_ID: (&str, &str) = (UBUNTU_KEYSERVER, "45F68D54BBE23FB3039B46E59766E084FB0F43D8");
3131
const PCRE1_DOWNLOAD_URL_PREFIX: &str = "https://sourceforge.net/projects/pcre/files/pcre";
3232
const PCRE2_DOWNLOAD_URL_PREFIX: &str = "https://github.com/PCRE2Project/pcre2/releases/download";
3333
/// The default version of openssl to use if the `OPENSSL_VERSION` environment variable is not present
3434
const OPENSSL1_DEFAULT_VERSION: &str = "1.1.1w";
3535
const OPENSSL3_DEFAULT_VERSION: &str = "3.2.1";
3636
const OPENSSL_GPG_SERVER_AND_KEY_IDS: (&str, &str) = (
37-
UBUNTU_KEYSEVER,
37+
UBUNTU_KEYSERVER,
3838
"\
3939
EFC0A467D613CB83C7ED6D30D894E2CE8B3D79F5 \
4040
A21FAB74B0088AA361152586B8EF1A6BA9DA2D5C \
@@ -53,7 +53,7 @@ const NGX_DEFAULT_VERSION: &str = "1.24.0";
5353
/// Key 2: Sergey Kandaurov's public key. For Nginx 1.25.4
5454
/// Key 3: Maxim Dounin's public key. At least used for Nginx 1.18.0
5555
const NGX_GPG_SERVER_AND_KEY_IDS: (&str, &str) = (
56-
UBUNTU_KEYSEVER,
56+
UBUNTU_KEYSERVER,
5757
"\
5858
13C82A63B603576156E30A4EA0EA981B66B0D967 \
5959
D6786CE303D9A9022998DC6CC8464D549AF75C0A \
@@ -329,7 +329,7 @@ fn keys_indexed_by_key_server() -> HashMap<String, Vec<String>> {
329329
map
330330
}
331331

332-
/// Imports all the required GPG keys into the `.cache/.gnupu` directory in order to
332+
/// Imports all the required GPG keys into the `.cache/.gnupg` directory in order to
333333
/// validate the integrity of the downloaded tarballs.
334334
fn import_gpg_keys(cache_dir: &Path) -> Result<(), Box<dyn StdError>> {
335335
if let Some(gpg) = gpg_path() {

0 commit comments

Comments
 (0)