]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix typos reported by Josh Soref (thanks!) 15409/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Apr 2025 09:21:37 +0000 (11:21 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 29 Apr 2025 09:21:37 +0000 (11:21 +0200)
pdns/tcpiohandler.cc
regression-tests.dnsdist/test_SNI.py

index 6f46d284f4c66d627184b9973a94d7ea3841298e..a0b10f24b91f408bd370b10e3efb91e2e5ad76e8 100644 (file)
@@ -122,7 +122,7 @@ static int sni_server_name_callback(SSL* ssl, int* /* alert */, void* /* arg */)
   }
 
   /* if it fails there is nothing we can do,
-     let's hope OpenSSL will fallback to the existing,
+     let's hope OpenSSL will fall back to the existing,
      default certificate*/
   SSL_set_SSL_CTX(ssl, mapIt->second.get());
   return SSL_TLSEXT_ERR_OK;
index 31ac684d47e8c28c9b3e5f88d08dcc0fd57b51d1..990d094d6d1f421ca98861762beb60481d981d85 100644 (file)
@@ -123,7 +123,7 @@ class TestSNI(DNSDistTest):
             self.assertTrue(receivedResponse)
             self.assertEqual(response, receivedResponse)
 
-        # check SNI for an unkown name, we should get the first certificate
+        # check SNI for an unknown name, we should get the first certificate
         name = 'unknown.sni.tests.powerdns.com.'
         query = dns.message.make_query(name, 'A', 'IN', use_edns=False)
         response = dns.message.make_response(query)