From: Doug Freed Date: Tue, 11 Apr 2023 05:59:39 +0000 (+0000) Subject: Fix spelling of PKCS X-Git-Tag: rec-4.9.0-alpha1~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12730%2Fhead;p=thirdparty%2Fpdns.git Fix spelling of PKCS --- diff --git a/.github/actions/spell-check/allow.txt b/.github/actions/spell-check/allow.txt index bb94e3fc02..cc0e68a3b3 100644 --- a/.github/actions/spell-check/allow.txt +++ b/.github/actions/spell-check/allow.txt @@ -2548,7 +2548,6 @@ PBpq pbtag pcall PCDNSSEC -PCKS PCmissing pcomp pcount diff --git a/pdns/dnsdistdist/docs/changelog.rst b/pdns/dnsdistdist/docs/changelog.rst index 33a21b31bd..e3a4123ed4 100644 --- a/pdns/dnsdistdist/docs/changelog.rst +++ b/pdns/dnsdistdist/docs/changelog.rst @@ -923,7 +923,7 @@ Changelog :tags: New Features, DNS over HTTPS, DNS over TLS :pullreq: 11027 - Add support for password protected PCKS12 files for TLS configuration + Add support for password protected PKCS12 files for TLS configuration .. change:: :tags: New Features diff --git a/pdns/dnsdistdist/docs/reference/config.rst b/pdns/dnsdistdist/docs/reference/config.rst index d67c0b1c41..22839b6369 100644 --- a/pdns/dnsdistdist/docs/reference/config.rst +++ b/pdns/dnsdistdist/docs/reference/config.rst @@ -1885,18 +1885,18 @@ Other functions PKCS12 files are only supported by the ``openssl`` provider, password-protected or not. - :param string pathToCert: Path to a file containing the certificate or a PCKS12 file containing both a certificate and a key. + :param string pathToCert: Path to a file containing the certificate or a PKCS12 file containing both a certificate and a key. :param table options: A table with key: value pairs with additional options. Options: * ``key="path/to/key"``: string - Path to a file containing the key corresponding to the certificate. - * ``password="pass"``: string - Password protecting the PCKS12 file if appropriate. + * ``password="pass"``: string - Password protecting the PKCS12 file if appropriate. .. code-block:: lua newTLSCertificate("path/to/pub.crt", {key="path/to/private.pem"}) - newTLSCertificate("path/to/domain.p12", {password="passphrase"}) -- use a password protected PCKS12 file + newTLSCertificate("path/to/domain.p12", {password="passphrase"}) -- use a password protected PKCS12 file DOHFrontend ~~~~~~~~~~~ diff --git a/pdns/pkcs11signers.cc b/pdns/pkcs11signers.cc index 1d12e85afa..9269c9e5f8 100644 --- a/pdns/pkcs11signers.cc +++ b/pdns/pkcs11signers.cc @@ -376,7 +376,7 @@ class Pkcs11Token { attr.push_back(P11KitAttribute(CKA_LABEL, d_label)); FindObjects2(*slot, attr, key, 1); if (key.size() == 0) { - g_log<