1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add support for matching wildcard server certificates to the new SSL code.

This uses the function fnmatch() which is not available on all platforms
(notably Windows), so import the implementation from NetBSD into src/port.
This commit is contained in:
Magnus Hagander
2008-11-24 09:15:16 +00:00
parent a378555501
commit cb10467d30
8 changed files with 347 additions and 12 deletions

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.572 2008/11/18 13:10:20 petere Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.573 2008/11/24 09:15:15 mha Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -1625,6 +1625,11 @@ fi
# SunOS doesn't handle negative byte comparisons properly with +/- return
AC_FUNC_MEMCMP
# Check for fnmatch()
AC_FUNC_FNMATCH
if test x"$ac_cv_func_fnmatch_works" != x"yes"; then
AC_LIBOBJ(fnmatch)
fi
# Select semaphore implementation type.
if test "$PORTNAME" != "win32"; then