Skip to content

Commit eb3901e

Browse files
committed
Remove INET6 from SSL. We don't support INET6 yet.
1 parent a0361c4 commit eb3901e

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-secure.c,v 1.7 2002/06/20 20:29:54 momjian Exp $
14+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-secure.c,v 1.8 2002/06/23 14:56:16 momjian Exp $
1515
*
1616
* NOTES
1717
* The client *requires* a valid server certificate. Since
@@ -410,15 +410,6 @@ verify_peer (PGconn *conn)
410410
}
411411
break;
412412

413-
case AF_INET6:
414-
sin6 = (struct sockaddr_in6 *) &addr;
415-
for (s = h->h_addr_list; *s != NULL; s++)
416-
{
417-
if (!memcmp(sin6->sin6_addr.s6_addr8, *s, h->h_length))
418-
return 0;
419-
}
420-
break;
421-
422413
default:
423414
printfPQExpBuffer(&conn->errorMessage,
424415
libpq_gettext("sorry, this protocol not yet supported\n"));

0 commit comments

Comments
 (0)