Deleted Added
full compact
kssl.c (205128) kssl.c (206046)
1/* ssl/kssl.c -*- mode: C; c-file-style: "eay" -*- */
2/* Written by Vern Staats <staatsvr@asc.hpc.mil> for the OpenSSL project 2000.
3 */
4/* ====================================================================
5 * Copyright (c) 2000 The OpenSSL Project. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 1788 unchanged lines hidden (view full) ---

1797 goto exit;
1798 }
1799
1800 /* the host key we are looking for */
1801 krb5rc = krb5_sname_to_principal(krb5context, NULL,
1802 kssl_ctx->service_name ? kssl_ctx->service_name: KRB5SVC,
1803 KRB5_NT_SRV_HST, &princ);
1804
1/* ssl/kssl.c -*- mode: C; c-file-style: "eay" -*- */
2/* Written by Vern Staats <staatsvr@asc.hpc.mil> for the OpenSSL project 2000.
3 */
4/* ====================================================================
5 * Copyright (c) 2000 The OpenSSL Project. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 1788 unchanged lines hidden (view full) ---

1797 goto exit;
1798 }
1799
1800 /* the host key we are looking for */
1801 krb5rc = krb5_sname_to_principal(krb5context, NULL,
1802 kssl_ctx->service_name ? kssl_ctx->service_name: KRB5SVC,
1803 KRB5_NT_SRV_HST, &princ);
1804
1805 if (krb5rc)
1806 goto exit;
1807
1805 krb5rc = krb5_kt_get_entry(krb5context, krb5keytab,
1806 princ,
1807 0 /* IGNORE_VNO */,
1808 0 /* IGNORE_ENCTYPE */,
1809 &entry);
1810 if ( krb5rc == KRB5_KT_NOTFOUND ) {
1811 rc = 1;
1812 goto exit;

--- 386 unchanged lines hidden ---
1808 krb5rc = krb5_kt_get_entry(krb5context, krb5keytab,
1809 princ,
1810 0 /* IGNORE_VNO */,
1811 0 /* IGNORE_ENCTYPE */,
1812 &entry);
1813 if ( krb5rc == KRB5_KT_NOTFOUND ) {
1814 rc = 1;
1815 goto exit;

--- 386 unchanged lines hidden ---