]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: occurred
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 17:30:20 +0000 (12:30 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:31:10 +0000 (07:31 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/libssl.cc

index 5139caecd8291b06dc9f048a5dbfdede3f055d1d..926f1c75b0850a8a089b21470b97ec3d95752f03 100644 (file)
@@ -1124,7 +1124,7 @@ std::pair<std::unique_ptr<SSL_CTX, decltype(&SSL_CTX_free)>, std::vector<std::st
         if (failed) {
 #endif /* defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR >= 3 */
           ERR_print_errors_fp(stderr);
-          throw std::runtime_error("An error occured while parsing PKCS12 file " + pair.d_cert);
+          throw std::runtime_error("An error occurred while parsing PKCS12 file " + pair.d_cert);
 #if defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR >= 3
         }
 #endif /* defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR >= 3 */
@@ -1231,7 +1231,7 @@ std::pair<pdns::libssl::ServerContext, std::vector<std::string>> libssl_init_ser
         if (failed) {
 #endif /* defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR >= 3 */
           ERR_print_errors_fp(stderr);
-          throw std::runtime_error("An error occured while parsing PKCS12 file " + pair.d_cert);
+          throw std::runtime_error("An error occurred while parsing PKCS12 file " + pair.d_cert);
 #if defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR >= 3
         }
 #endif /* defined(OPENSSL_VERSION_MAJOR) && OPENSSL_VERSION_MAJOR >= 3 */