Remove INET6 from SSL. We don't support INET6 yet.
authorBruce Momjian
Sun, 23 Jun 2002 14:56:16 +0000 (14:56 +0000)
committerBruce Momjian
Sun, 23 Jun 2002 14:56:16 +0000 (14:56 +0000)
src/interfaces/libpq/fe-secure.c

index 64cce0c6f5d50afb3b23ce437fe5d8d1d307149b..2ccd92639a02e1b256bacb74c86d28aa91cd7760 100644 (file)
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-secure.c,v 1.7 2002/06/20 20:29:54 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-secure.c,v 1.8 2002/06/23 14:56:16 momjian Exp $
  *   
  * NOTES
  *   The client *requires* a valid server certificate.  Since
@@ -410,15 +410,6 @@ verify_peer (PGconn *conn)
        }
        break;
 
-   case AF_INET6:
-       sin6 = (struct sockaddr_in6 *) &addr;
-       for (s = h->h_addr_list; *s != NULL; s++)
-       {
-           if (!memcmp(sin6->sin6_addr.s6_addr8, *s, h->h_length))
-               return 0;
-       }
-       break;
-
    default:
        printfPQExpBuffer(&conn->errorMessage,
            libpq_gettext("sorry, this protocol not yet supported\n"));