hpropd.c (72445) | hpropd.c (78527) |
---|---|
1/* 2 * Copyright (c) 1997-2001 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include "hprop.h" 35 | 1/* 2 * Copyright (c) 1997-2001 Kungliga Tekniska H�gskolan 3 * (Royal Institute of Technology, Stockholm, Sweden). 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#include "hprop.h" 35 |
36RCSID("$Id: hpropd.c,v 1.31 2001/01/25 12:37:39 assar Exp $"); | 36RCSID("$Id: hpropd.c,v 1.32 2001/02/20 01:44:50 assar Exp $"); |
37 38#ifdef KRB4 39static des_cblock mkey4; 40static des_key_schedule msched4; 41 42static char * 43time2str(time_t t) 44{ --- 163 unchanged lines hidden (view full) --- 208 char *tmp_db; 209 krb5_log_facility *fac; 210 int nprincs; 211#ifdef KRB4 212 int e; 213 int fd_out = -1; 214#endif 215 | 37 38#ifdef KRB4 39static des_cblock mkey4; 40static des_key_schedule msched4; 41 42static char * 43time2str(time_t t) 44{ --- 163 unchanged lines hidden (view full) --- 208 char *tmp_db; 209 krb5_log_facility *fac; 210 int nprincs; 211#ifdef KRB4 212 int e; 213 int fd_out = -1; 214#endif 215 |
216 set_progname(argv[0]); | 216 setprogname(argv[0]); |
217 218 ret = krb5_init_context(&context); 219 if(ret) 220 exit(1); 221 222 ret = krb5_openlog(context, "hpropd", &fac); 223 if(ret) 224 ; --- 210 unchanged lines hidden --- | 217 218 ret = krb5_init_context(&context); 219 if(ret) 220 exit(1); 221 222 ret = krb5_openlog(context, "hpropd", &fac); 223 if(ret) 224 ; --- 210 unchanged lines hidden --- |