|
10 | 10 | * exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
|
11 | 11 | *
|
12 | 12 | * IDENTIFICATION
|
13 |
| - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.87 2003/12/20 18:24:52 tgl Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-auth.c,v 1.88 2003/12/20 18:45:49 tgl Exp $ |
14 | 14 | *
|
15 | 15 | *-------------------------------------------------------------------------
|
16 | 16 | */
|
@@ -450,16 +450,15 @@ pg_krb5_sendauth(char *PQerrormsg, int sock, const char *hostname)
|
450 | 450 | /*
|
451 | 451 | * Respond to AUTH_REQ_SCM_CREDS challenge.
|
452 | 452 | *
|
453 |
| - * Note:the backend will not use this challenge if HAVE_GETPEEREID |
454 |
| - * or SO_PEERCRED is defined,so we don't bother to compileany code |
455 |
| - *in that case, even if the facility is available. |
| 453 | + * Note:current backends will not use this challenge if HAVE_GETPEEREID |
| 454 | + * or SO_PEERCRED is defined,but pre-7.4 backends might, so compilethe |
| 455 | + *code anyway. |
456 | 456 | */
|
457 | 457 | staticint
|
458 | 458 | pg_local_sendauth(char*PQerrormsg,PGconn*conn)
|
459 | 459 | {
|
460 |
| -#if !defined(HAVE_GETPEEREID)&& !defined(SO_PEERCRED)&& \ |
461 |
| -(defined(HAVE_STRUCT_CMSGCRED)|| defined(HAVE_STRUCT_FCRED)|| \ |
462 |
| - (defined(HAVE_STRUCT_SOCKCRED)&& defined(LOCAL_CREDS))) |
| 460 | +#if defined(HAVE_STRUCT_CMSGCRED)|| defined(HAVE_STRUCT_FCRED)|| \ |
| 461 | +(defined(HAVE_STRUCT_SOCKCRED)&& defined(LOCAL_CREDS)) |
463 | 462 | charbuf;
|
464 | 463 | structioveciov;
|
465 | 464 | structmsghdrmsg;
|
|