|
From: | shishi-commit |
Subject: | Nits. |
Date: | Thu, 11 Dec 2003 05:03:11 +0100 |
Commit from jas | 2003-12-11 05:03 CET |
Nits.
Module | File name | Revision | |||
---|---|---|---|---|---|
shishi | src/shishid.c | 1.65 | >>> | 1.66 |
shishi/src/shishid.c 1.65 >>> 1.66 |
---|
Line 1 |
- /* shishid.c Shishi Key Distribution Center daemon. |
+ /* shishid.c --- Shishi Key Distribution Center daemon. |
* Copyright (C) 2002, 2003 Simon Josefsson * * This file is part of Shishi. |
Line 149 |
#define FAMILY_IPV6 "IPv6" #ifdef WITH_IPV6 |
- #define LISTEN_DEFAULT FAMILY_IPV4 ":*:kerberos/udp, " \ |
+ # define LISTEN_DEFAULT FAMILY_IPV4 ":*:kerberos/udp, " \ |
FAMILY_IPV4 ":*:kerberos/tcp, " \ FAMILY_IPV6 ":*:kerberos/udp, " \ FAMILY_IPV6 ":*:kerberos/tcp" #else |
- #define LISTEN_DEFAULT "*:kerberos/udp, *:kerberos/tcp" |
+ # define LISTEN_DEFAULT "*:kerberos/udp, *:kerberos/tcp" |
#endif #define DH_BITS 1024 |
Line 435 |
} printf ("Found keys for server address@hidden", servername, serverrealm); |
- /* XXX select "best" available key (highest kvno, best algorithm?) here. */ |
+ /* XXX select "best" available key (tgs-req etype list, highest + kvno, best algorithm?) here. */ |
rc = shishi_key_from_value (handle, serverkeys[0]->etype, serverkeys[0]->key, &serverkey); |
Line 1300 |
return 1; } |
- #ifdef LOG_PERROR - openlog (PACKAGE, LOG_CONS | LOG_PERROR, LOG_DAEMON); - #else - openlog (PACKAGE, LOG_CONS, LOG_DAEMON); - #endif - |
if (!arg.configuration_file_arg) arg.configuration_file_arg = strdup (SYSTEMCFGFILE); if (!arg.listen_given) arg.listen_arg = strdup (LISTEN_DEFAULT); parse_listen (arg.listen_arg); |
+ #ifdef LOG_PERROR + openlog (PACKAGE, LOG_CONS | LOG_PERROR, LOG_DAEMON); + #else + openlog (PACKAGE, LOG_CONS, LOG_DAEMON); + #endif + |
rc = init (); free (arg.listen_arg); |
[Prev in Thread] | Current Thread | [Next in Thread] |