push.c (72445) | push.c (78527) |
---|---|
1/* 2 * Copyright (c) 1997-2000 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: --- 18 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 "push_locl.h" | 1/* 2 * Copyright (c) 1997-2000 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: --- 18 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 "push_locl.h" |
35RCSID("$Id: push.c,v 1.43 2000/12/31 07:35:59 assar Exp $"); | 35RCSID("$Id: push.c,v 1.44 2001/02/20 01:44:47 assar Exp $"); |
36 37#ifdef KRB4 38static int use_v4 = -1; 39#endif 40 41#ifdef KRB5 42static int use_v5 = -1; 43static krb5_context context; --- 665 unchanged lines hidden (view full) --- 709main(int argc, char **argv) 710{ 711 int port = 0; 712 int optind = 0; 713 int ret = 1; 714 const char *host, *user, *filename = NULL; 715 char *pobox = NULL; 716 | 36 37#ifdef KRB4 38static int use_v4 = -1; 39#endif 40 41#ifdef KRB5 42static int use_v5 = -1; 43static krb5_context context; --- 665 unchanged lines hidden (view full) --- 709main(int argc, char **argv) 710{ 711 int port = 0; 712 int optind = 0; 713 int ret = 1; 714 const char *host, *user, *filename = NULL; 715 char *pobox = NULL; 716 |
717 set_progname (argv[0]); | 717 setprogname (argv[0]); |
718 719#ifdef KRB5 720 { 721 krb5_error_code ret; 722 723 ret = krb5_init_context (&context); 724 if (ret) 725 errx (1, "krb5_init_context failed: %d", ret); --- 89 unchanged lines hidden --- | 718 719#ifdef KRB5 720 { 721 krb5_error_code ret; 722 723 ret = krb5_init_context (&context); 724 if (ret) 725 errx (1, "krb5_init_context failed: %d", ret); --- 89 unchanged lines hidden --- |