RT4639: Typo when -DSSL_DEBUG
authorJon Loeliger <jdl@jdl.com>
Tue, 26 Jul 2016 16:48:20 +0000 (12:48 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 26 Jul 2016 16:48:51 +0000 (12:48 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_client.c

index bc89c98..0488a27 100644 (file)
@@ -2621,7 +2621,7 @@ static void print_stuff(BIO *bio, SSL *s, int full)
         if ((info.addr = BIO_ADDR_new()) != NULL
             && BIO_sock_info(sock, BIO_SOCK_INFO_ADDRESS, &info)) {
             BIO_printf(bio_c_out, "LOCAL PORT is %u\n",
-                       ntohs(BIO_ADDR_rawport(info.adr)));
+                       ntohs(BIO_ADDR_rawport(info.addr)));
         }
         BIO_ADDR_free(info.addr);
     }