]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix new typo found by codespell in demo
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
Thu, 29 Jun 2023 06:55:56 +0000 (08:55 +0200)
committerPauli <pauli@openssl.org>
Fri, 30 Jun 2023 14:10:15 +0000 (00:10 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21322)

demos/guide/quic-client-block.c

index a79c16a94da99e767d026147a24ac813fd4a153e..54d6a0bf3764bc6425fac716b3160e6c350da532 100644 (file)
@@ -203,7 +203,7 @@ int main(void)
     }
 
     if (!SSL_set_initial_peer_addr(ssl, peer_addr)) {
-        printf("Failed to set the inital peer address\n");
+        printf("Failed to set the initial peer address\n");
         goto end;
     }
 
@@ -263,7 +263,7 @@ int main(void)
     do {
         ret = SSL_shutdown(ssl);
         if (ret < 0) {
-            printf("Error shuting down: %d\n", ret);
+            printf("Error shutting down: %d\n", ret);
             goto end;
         }
     } while (ret != 1);