Changes from Asanka Herath of Secure Endpoint for additional Microsoft Windows support
This commit is contained in:
@@ -49,14 +49,13 @@ KTUTIL_OBJS= \
|
||||
$(OBJ)\rename.obj
|
||||
|
||||
KTUTIL_LIBS= \
|
||||
$(LIBKRB5) \
|
||||
$(LIBHEIMDAL) \
|
||||
$(LIBKADM5SRV) \
|
||||
$(LIBSL) \
|
||||
$(LIBROKEN) \
|
||||
$(LIBHCRYPTO) \
|
||||
$(LIBVERS)
|
||||
|
||||
$(SBINDIR)\ktutil.exe: $(KTUTIL_OBJS) $(KTUTIL_LIBS)
|
||||
$(SBINDIR)\ktutil.exe: $(KTUTIL_OBJS) $(KTUTIL_LIBS) $(OBJ)\ktutil-version.res
|
||||
$(EXECONLINK)
|
||||
$(EXEPREP)
|
||||
|
||||
|
36
admin/ktutil-version.rc
Normal file
36
admin/ktutil-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Kerberos Keytab Tool"
|
||||
#define RC_FILE_ORIG_0409 "ktutil.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
98
cf/w32-check-exported-symbols.pl
Normal file
98
cf/w32-check-exported-symbols.pl
Normal file
@@ -0,0 +1,98 @@
|
||||
use Getopt::Long;
|
||||
use Pod::Usage;
|
||||
use feature "switch";
|
||||
|
||||
my $def_name = '';
|
||||
my $vs_name = '';
|
||||
my $show_help = 0;
|
||||
|
||||
my %syms;
|
||||
|
||||
my $def_only = 0;
|
||||
my $vs_only = 0;
|
||||
|
||||
GetOptions ("def=s" => \$def_name,
|
||||
"vs=s" => \$vs_name,
|
||||
"help|?" => \$show_help) or pod2usage( -exitval => 2,
|
||||
-verbose => 3 );
|
||||
pod2usage( -exitval => 1,
|
||||
-verbose => 3 ) if $show_help or !$def_name or !$vs_name;
|
||||
|
||||
open (my $def, '<', $def_name) or die $!;
|
||||
open (my $vs, '<', $vs_name) or die $!;
|
||||
|
||||
# First go through the version-script
|
||||
|
||||
my $global = 0;
|
||||
|
||||
while(<$vs>)
|
||||
{
|
||||
next unless m/^([^#]+)/;
|
||||
|
||||
@a = split(/\s+|({|})/,$1);
|
||||
|
||||
for $f (@a) {
|
||||
given ($f) {
|
||||
when (/global\:/) { $global = 1; }
|
||||
when (/{|}|.*\:/) { $global = 0; }
|
||||
when (/(.*)\;/ and $global == 1) {
|
||||
$syms{$1} = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
while(<$def>)
|
||||
{
|
||||
next if m/^#/;
|
||||
next unless m/^;!([^;]+)/ or m/^([^;]+);?(!?)/;
|
||||
|
||||
@a = split(/\s+/, $1);
|
||||
|
||||
for $f (@a) {
|
||||
next if $f =~ /EXPORTS/ or $f =~ /DATA/ or not $f;
|
||||
|
||||
if (not exists $syms{$f} and not $2) {
|
||||
print "$f: Only in DEF\n";
|
||||
++$def_only;
|
||||
}
|
||||
delete $syms{$f};
|
||||
}
|
||||
}
|
||||
|
||||
#while (($k,$v) = each %syms) {
|
||||
for $k (sort keys %syms) {
|
||||
print "$k: Only in VS\n";
|
||||
++$vs_only;
|
||||
}
|
||||
|
||||
close($def);
|
||||
close($vs);
|
||||
|
||||
if ($def_only or $vs_only) {
|
||||
print "\nMismatches found.\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
__END__
|
||||
|
||||
=head1 NAME
|
||||
|
||||
w32-sync-exported-symbols.pl - Synchronize Windows .def with version-script
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
w32-sync-exported-symbols.pl {options}
|
||||
|
||||
Options:
|
||||
--def Name of .def file
|
||||
--vs Name of version-script file
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
Verifies that all the symbols exported by the version-script is also
|
||||
accounted for in the .def file. Also checks that no extra symbols are
|
||||
exported by the .def file unless they are marked as safe.
|
||||
|
||||
=cut
|
||||
|
166
cf/w32-def-from-dll.pl
Normal file
166
cf/w32-def-from-dll.pl
Normal file
@@ -0,0 +1,166 @@
|
||||
my $show_module_name = 1;
|
||||
my $use_indent = 1;
|
||||
my $strip_leading_underscore = 0;
|
||||
my $module_name = "";
|
||||
my %target_exports = ();
|
||||
my %local_exports = ();
|
||||
|
||||
sub build_target_exports_list($)
|
||||
{
|
||||
$fn = shift;
|
||||
|
||||
print STDERR "Processing defs from file [$fn]\n";
|
||||
|
||||
open(SP, '-|', "dumpbin /exports \"".$fn."\"") or die "Can't open pipe for $fn";
|
||||
|
||||
LINE:
|
||||
while (<SP>) {
|
||||
# 112 6F 00071CDC krb5_encrypt_size
|
||||
|
||||
/^ +([[:digit:]]+)\s+[[:xdigit:]]+\s[[:xdigit:]]{8,}\s+(\S+)(?:| = (\S*))$/ && do {
|
||||
my ($ordinal, $symbol, $in) = ($1, $2, $3);
|
||||
|
||||
if ($in eq "") { $in = $symbol };
|
||||
$target_exports{$symbol} = $in;
|
||||
};
|
||||
}
|
||||
|
||||
close SP;
|
||||
}
|
||||
|
||||
# Dump all symbols for the given dll file that are defined and have
|
||||
# external scope.
|
||||
|
||||
sub build_glue_exports_list($)
|
||||
{
|
||||
$fn = shift;
|
||||
|
||||
print STDERR "Opening dump of DLL [$fn]\n";
|
||||
|
||||
open(SP, '-|', "dumpbin /exports \"".$fn."\"") or die "Can't open pipe for $fn";
|
||||
|
||||
LINE:
|
||||
while (<SP>) {
|
||||
# 112 6F 00071CDC krb5_encrypt_size
|
||||
|
||||
/^ +([[:digit:]]+)\s+[[:xdigit:]]+\s[[:xdigit:]]{8,}\s+(\S+)(?:| = (\S*))$/ && do {
|
||||
my ($ordinal, $symbol, $in) = ($1, $2, $3);
|
||||
|
||||
if ($strip_leading_underscore && $symbol =~ /_(.*)/) {
|
||||
$symbol = $1;
|
||||
}
|
||||
if (exists $local_exports{$symbol}) {
|
||||
print "\t".$symbol;
|
||||
print " = ".$local_exports{$symbol};
|
||||
if ($in ne $local_exports{$symbol} and $in ne "") {
|
||||
print STDERR "Incorrect calling convention for local $symbol\n";
|
||||
print STDERR " ".$in." != ".$local_exports{$symbol}."\n";
|
||||
}
|
||||
print "\t@".$ordinal."\n";
|
||||
} elsif (exists $local_exports{"SHIM_".$symbol}) {
|
||||
print "\t".$symbol;
|
||||
print " = ".$local_exports{"SHIM_".$symbol};
|
||||
print "\t@".$ordinal."\n";
|
||||
} elsif (exists $target_exports{$symbol}) {
|
||||
print "\t".$symbol;
|
||||
print " = ".$module_name;
|
||||
if ($in ne $target_exports{$symbol} and $in ne "") {
|
||||
print STDERR "Incorrect calling convention for $symbol\n";
|
||||
print STDERR " ".$in." != ".$target_exports{$symbol}."\n";
|
||||
}
|
||||
my $texp = $target_exports{$symbol};
|
||||
if ($texp =~ /^_([^@]+)$/) { $texp = $1; }
|
||||
print $texp."\t@".$ordinal."\n";
|
||||
} else {
|
||||
print STDERR "Symbol not found: $symbol\n";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
close SP;
|
||||
}
|
||||
|
||||
sub build_local_exports_list($)
|
||||
{
|
||||
$fn = shift;
|
||||
|
||||
print STDERR "Opening dump of object [$fn]\n";
|
||||
|
||||
open(SP, '-|', "dumpbin /symbols \"".$fn."\"") or die "Can't open pipe for $fn";
|
||||
|
||||
LINE:
|
||||
while (<SP>) {
|
||||
# 009 00000010 SECT3 notype () External | _remove_error_table@4
|
||||
m/^[[:xdigit:]]{3,}\s[[:xdigit:]]{8,}\s(\w+)\s+\w*\s+(?:\(\)| )\s+(\w+)\s+\|\s+(\S+)$/ && do {
|
||||
my ($section, $visibility, $symbol) = ($1, $2, $3);
|
||||
|
||||
if ($section ne "UNDEF" && $visibility eq "External") {
|
||||
|
||||
my $exp_name = $symbol;
|
||||
|
||||
if ($symbol =~ m/^_(\w+)(?:@.*|)$/) {
|
||||
$exp_name = $1;
|
||||
}
|
||||
|
||||
if ($symbol =~ m/^_([^@]+)$/) {
|
||||
$symbol = $1;
|
||||
}
|
||||
|
||||
$local_exports{$exp_name} = $symbol;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
close SP;
|
||||
}
|
||||
|
||||
sub process_file($)
|
||||
{
|
||||
$fn = shift;
|
||||
|
||||
if ($fn =~ m/\.dll$/i) {
|
||||
build_glue_exports_list($fn);
|
||||
} elsif ($fn =~ m/\.obj$/i) {
|
||||
build_local_exports_list($fn);
|
||||
} else {
|
||||
die "File type not recognized for $fn.";
|
||||
}
|
||||
}
|
||||
|
||||
sub use_response_file($)
|
||||
{
|
||||
$fn = shift;
|
||||
|
||||
open (RF, '<', $fn) or die "Can't open response file $fn";
|
||||
|
||||
while (<RF>) {
|
||||
/(\S+)/ && do {
|
||||
process_file($1);
|
||||
}
|
||||
}
|
||||
close RF;
|
||||
}
|
||||
|
||||
print "; This is a generated file. Do not modify directly.\n";
|
||||
print "EXPORTS\n";
|
||||
|
||||
for (@ARGV) {
|
||||
ARG: {
|
||||
/-m(.*)/ && do {
|
||||
$module_name = $1.".";
|
||||
last ARG;
|
||||
};
|
||||
|
||||
/-e(.*)/ && do {
|
||||
build_target_exports_list($1);
|
||||
last ARG;
|
||||
};
|
||||
|
||||
/@(.*)/ && do {
|
||||
use_response_file($1);
|
||||
last ARG;
|
||||
};
|
||||
|
||||
process_file($_);
|
||||
}
|
||||
}
|
@@ -1356,11 +1356,15 @@ static const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
|
||||
/* Define if you don't want to use mmap. */
|
||||
#define NO_MMAP 1
|
||||
|
||||
/* Define if EGD rand method is not defined */
|
||||
#define NO_RAND_EGD_METHOD 1
|
||||
|
||||
/* Define if the Unix rand method is not defined */
|
||||
#define NO_RAND_UNIX_METHOD 1
|
||||
|
||||
/* Define if the Fortuna rand method is not defined */
|
||||
#define NO_RAND_FORTUNA_METHOD 1
|
||||
|
||||
/* Define if PID files should not be used. */
|
||||
#define NO_PIDFILES 1
|
||||
|
||||
@@ -1454,32 +1458,6 @@ static const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
|
||||
#include "roken_rename.h"
|
||||
#endif
|
||||
|
||||
#define RETSIGTYPE void
|
||||
|
||||
#define VOID_RETSIGTYPE 1
|
||||
|
||||
#ifdef VOID_RETSIGTYPE
|
||||
#define SIGRETURN(x) return
|
||||
#else
|
||||
#define SIGRETURN(x) return (RETSIGTYPE)(x)
|
||||
#endif
|
||||
|
||||
#ifndef CPP_ONLY
|
||||
|
||||
typedef int pid_t;
|
||||
|
||||
typedef unsigned int gid_t;
|
||||
|
||||
typedef unsigned int uid_t;
|
||||
|
||||
typedef unsigned short mode_t;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef __cplusplus
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
#if defined(ENCRYPTION) && !defined(AUTHENTICATION)
|
||||
#define AUTHENTICATION 1
|
||||
#endif
|
||||
|
@@ -42,9 +42,7 @@ SBIN_PROGRAMS=$(SBINDIR)\kadmin.exe
|
||||
|
||||
COMMON_LIBS= \
|
||||
$(LIBHDB) \
|
||||
$(LIBKRB5) \
|
||||
$(LIBHCRYPTO) \
|
||||
$(LIBASN1) \
|
||||
$(LIBHEIMDAL) \
|
||||
$(LIBROKEN)
|
||||
|
||||
KADMIN_OBJS= \
|
||||
@@ -66,7 +64,8 @@ KADMIN_OBJS= \
|
||||
$(OBJ)\util.obj \
|
||||
$(OBJ)\pw_quality.obj \
|
||||
$(OBJ)\random_password.obj \
|
||||
$(OBJ)\kadmin-commands.obj
|
||||
$(OBJ)\kadmin-commands.obj \
|
||||
$(OBJ)\kadmin-version.res
|
||||
|
||||
KADMIN_LIBS= \
|
||||
$(LIBKADM5CLNT) \
|
||||
@@ -92,7 +91,8 @@ KADMIND_OBJS= \
|
||||
$(OBJ)\rpc.obj \
|
||||
$(OBJ)\server.obj \
|
||||
$(OBJ)\kadmind.obj \
|
||||
$(OBJ)\kadm_conn.obj
|
||||
$(OBJ)\kadm_conn.obj \
|
||||
$(OBJ)\kadmind-version.res
|
||||
|
||||
KADMIND_LIBS=\
|
||||
$(LIBKADM5SRV) \
|
||||
|
36
kadmin/kadmin-version.rc
Normal file
36
kadmin/kadmin-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Kerberos Administration Tool"
|
||||
#define RC_FILE_ORIG_0409 "kadmin.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kadmin/kadmind-version.rc
Normal file
36
kadmin/kadmind-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Kerberos Administration Server"
|
||||
#define RC_FILE_ORIG_0409 "kadmind.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
@@ -59,53 +59,41 @@ clean::
|
||||
|
||||
BIN_LIBS=\
|
||||
$(LIBHDB) \
|
||||
$(LIBKRB5) \
|
||||
$(LIBHCRYPTO) \
|
||||
$(LIBASN1) \
|
||||
$(LIBHEIMDAL) \
|
||||
$(LIBROKEN) \
|
||||
$(LIBVERS)
|
||||
|
||||
$(LIBEXECDIR)\hprop.exe: $(OBJ)\hprop.obj $(OBJ)\mit_dump.obj $(BIN_LIBS)
|
||||
$(LIBEXECDIR)\hprop.exe: $(OBJ)\hprop.obj $(OBJ)\mit_dump.obj $(BIN_LIBS) $(OBJ)\hprop-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
!ifdef KRB4
|
||||
$(LIBEXECDIR)\hprop.exe: $(OBJ)\v4_dump.obj
|
||||
!endif
|
||||
|
||||
|
||||
$(LIBEXECDIR)\hpropd.exe: $(OBJ)\hpropd.obj $(BIN_LIBS)
|
||||
$(LIBEXECDIR)\hpropd.exe: $(OBJ)\hpropd.obj $(BIN_LIBS) $(OBJ)\hpropd-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(SBINDIR)\kstash.exe: $(OBJ)\kstash.obj $(BIN_LIBS)
|
||||
$(SBINDIR)\kstash.exe: $(OBJ)\kstash.obj $(BIN_LIBS) $(OBJ)\kstash-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(BINDIR)\string2key.exe: $(OBJ)\string2key.obj $(BIN_LIBS)
|
||||
$(BINDIR)\string2key.exe: $(OBJ)\string2key.obj $(BIN_LIBS) $(OBJ)\string2key-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(BINDIR)\digest-service.exe: $(OBJ)\digest-service.obj $(BIN_LIBS)
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(LIBEXECDIR)\kdc.exe: \
|
||||
$(OBJ)\connect.obj $(OBJ)\config.obj $(OBJ)\announce.obj $(OBJ)\main.obj $(LIBKDC) $(BIN_LIBS)
|
||||
$(OBJ)\connect.obj $(OBJ)\config.obj $(OBJ)\announce.obj \
|
||||
$(OBJ)\main.obj $(OBJ)\kdc-version.res \
|
||||
$(LIBKDC) $(BIN_LIBS)
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
LIBKDC_OBJS=\
|
||||
$(OBJ)\default_config.obj \
|
||||
@@ -129,21 +117,15 @@ LIBKDC_OBJS=$(LIBKDC_OBJS) \
|
||||
|
||||
LIBKDC_LIBS=\
|
||||
$(LIBHDB) \
|
||||
$(LIBKRB5) \
|
||||
$(LIBHEIMDAL) \
|
||||
$(LIBHEIMNTLM) \
|
||||
$(LIBHCRYPTO) \
|
||||
$(LIBASN1) \
|
||||
$(LIBROKEN)
|
||||
|
||||
!ifdef PKINIT
|
||||
LIBKDC_LIBS=$(LIBKDC_LIBS) $(LIBHX509)
|
||||
!endif
|
||||
LIBKDCRES=$(OBJ)\libkdc-version.res
|
||||
|
||||
$(LIBEXECDIR)\libkdc.dll: $(LIBKDC_OBJS) $(LIBKDC_LIBS)
|
||||
$(LIBEXECDIR)\libkdc.dll: $(LIBKDC_OBJS) $(LIBKDC_LIBS) $(LIBKDCRES)
|
||||
$(DLLGUILINK) -implib:$(LIBKDC) -def:libkdc-exports.def
|
||||
$(_VC_MANIFEST_EMBED_DLL)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(DLLPREP)
|
||||
|
||||
$(LIBKDC): $(LIBEXECDIR)\libkdc.dll
|
||||
|
||||
|
36
kdc/hprop-version.rc
Normal file
36
kdc/hprop-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "KDC Database Propagation Tool"
|
||||
#define RC_FILE_ORIG_0409 "hprop.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kdc/hpropd-version.rc
Normal file
36
kdc/hpropd-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Propagated KDC database recipient"
|
||||
#define RC_FILE_ORIG_0409 "hpropd.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kdc/kdc-version.rc
Normal file
36
kdc/kdc-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Heimdal Kerberos v5 Server"
|
||||
#define RC_FILE_ORIG_0409 "kdc.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kdc/kstash-version.rc
Normal file
36
kdc/kstash-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "KDC Master Password Stash Tool"
|
||||
#define RC_FILE_ORIG_0409 "kstash.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kdc/libkdc-version.rc
Normal file
36
kdc/libkdc-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_DLL
|
||||
#define RC_FILE_DESC_0409 "Heimdal KDC Library"
|
||||
#define RC_FILE_ORIG_0409 "libkdc.dll"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kdc/string2key-version.rc
Normal file
36
kdc/string2key-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Password to Key Mapper"
|
||||
#define RC_FILE_ORIG_0409 "string2key.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
@@ -51,10 +51,8 @@ NOINSTPROGRAMS=\
|
||||
$(OBJ)\copy_cred_cache.exe
|
||||
|
||||
BINLIBS=\
|
||||
$(LIBKRB5) \
|
||||
$(LIBHEIMDAL) \
|
||||
$(LIBHEIMNTLM) \
|
||||
$(LIBHCRYPTO) \
|
||||
$(LIBASN1) \
|
||||
$(LIBROKEN) \
|
||||
$(LIBVERS)
|
||||
|
||||
@@ -64,45 +62,33 @@ all:: $(BINPROGRAMS) $(LIBEXECPROGRAMS)
|
||||
clean::
|
||||
-$(RM) $(BINPROGRAMS) $(LIBEXECPROGRAMS)
|
||||
|
||||
$(BINDIR)\kinit.exe: $(OBJ)\kinit.obj $(BINLIBS)
|
||||
$(BINDIR)\kinit.exe: $(OBJ)\kinit.obj $(BINLIBS) $(OBJ)\kinit-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(BINDIR)\klist.exe: $(OBJ)\klist.obj $(BINLIBS)
|
||||
$(BINDIR)\klist.exe: $(OBJ)\klist.obj $(BINLIBS) $(OBJ)\klist-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
|
||||
$(BINDIR)\kdestroy.exe: $(OBJ)\kdestroy.obj $(BINLIBS)
|
||||
$(BINDIR)\kdestroy.exe: $(OBJ)\kdestroy.obj $(BINLIBS) $(OBJ)\kdestroy-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
|
||||
$(BINDIR)\kgetcred.exe: $(OBJ)\kgetcred.obj $(BINLIBS)
|
||||
$(BINDIR)\kgetcred.exe: $(OBJ)\kgetcred.obj $(BINLIBS) $(OBJ)\kgetcred-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
|
||||
$(BINDIR)\kswitch.exe: $(OBJ)\kswitch.obj $(BINLIBS)
|
||||
$(BINDIR)\kswitch.exe: $(OBJ)\kswitch.obj $(BINLIBS) $(OBJ)\kswitch-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
|
||||
$(LIBEXECDIR)\kdigest.exe: $(OBJ)\kdigest-commands.obj $(OBJ)\kdigest.obj $(BINLIBS) $(LIBSL)
|
||||
$(LIBEXECDIR)\kdigest.exe: $(OBJ)\kdigest-commands.obj $(OBJ)\kdigest.obj $(BINLIBS) $(LIBSL) $(OBJ)\kdigest-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(OBJ)\kdigest.obj: kdigest.c
|
||||
$(C2OBJ) -I$(OBJ)
|
||||
@@ -114,9 +100,7 @@ $(OBJ)\kdigest-commands.c $(OBJ)\kdigest-commands.h: kdigest-commands.in
|
||||
cd $(SRCDIR)
|
||||
|
||||
|
||||
$(LIBEXECDIR)\kimpersonate.exe: $(OBJ)\kimpersonate.obj $(BINLIBS)
|
||||
$(LIBEXECDIR)\kimpersonate.exe: $(OBJ)\kimpersonate.obj $(BINLIBS) $(OBJ)\kimpersonate-version.res
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
|
36
kuser/kdestroy-version.rc
Normal file
36
kuser/kdestroy-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Destroy Kerberos Tickets"
|
||||
#define RC_FILE_ORIG_0409 "kdestroy.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kuser/kdigest-version.rc
Normal file
36
kuser/kdigest-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "KDC Digest Interface Tool"
|
||||
#define RC_FILE_ORIG_0409 "kdigest.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kuser/kgetcred-version.rc
Normal file
36
kuser/kgetcred-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Get Kerberos Ticket For Service"
|
||||
#define RC_FILE_ORIG_0409 "kgetcred.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kuser/kimpersonate-version.rc
Normal file
36
kuser/kimpersonate-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Impersonate a Kerberos Principal"
|
||||
#define RC_FILE_ORIG_0409 "kimpersonate.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kuser/kinit-version.rc
Normal file
36
kuser/kinit-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Acquire Initial Kerberos Tickets"
|
||||
#define RC_FILE_ORIG_0409 "kinit.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kuser/klist-version.rc
Normal file
36
kuser/klist-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "List Kerberos Tickets"
|
||||
#define RC_FILE_ORIG_0409 "klist.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
36
kuser/kswitch-version.rc
Normal file
36
kuser/kswitch-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Switch Between Default Credential Caches"
|
||||
#define RC_FILE_ORIG_0409 "kswitch.exe"
|
||||
|
||||
#include "../windows/version.rc"
|
@@ -44,11 +44,24 @@ dir_hcrypto = hcrypto
|
||||
!endif
|
||||
|
||||
SUBDIRS = roken vers editline com_err sl wind asn1 sqlite \
|
||||
$(dir_hcrypto) hx509 krb5 ntlm kafs gssapi hdb kadm5 \
|
||||
auth $(dir_45) $(dir_otp) $(dir_dce)
|
||||
$(dir_hcrypto) hx509 krb5 heimdal ntlm kafs gssapi hdb \
|
||||
kadm5 auth $(dir_45) $(dir_otp) $(dir_dce) ..\packages\windows\assembly
|
||||
|
||||
!include ../windows/NTMakefile.w32
|
||||
|
||||
all:: subdirs
|
||||
# We can't build some of the lib tools until after we have LIBHEIMDAL.
|
||||
# So we build tools in a separate build step:
|
||||
|
||||
all:: all-tools
|
||||
|
||||
all-tools:: asn1-tools hx509-tools krb5-tools
|
||||
|
||||
asn1-tools:
|
||||
@( cd asn1 && $(RMAKE) all-tools && cd .. ) || exit /b 1
|
||||
|
||||
hx509-tools:
|
||||
@( cd hx509 && $(RMAKE) all-tools && cd .. ) || exit /b 1
|
||||
|
||||
krb5-tools:
|
||||
@( cd krb5 && $(RMAKE) all-tools && cd .. ) || exit /b 1
|
||||
|
||||
clean:: clean-subdirs
|
||||
|
@@ -31,6 +31,8 @@
|
||||
|
||||
RELDIR=lib\asn1
|
||||
|
||||
intcflags=-I$(SRCDIR) -I$(OBJ)
|
||||
|
||||
!include ../../windows/NTMakefile.w32
|
||||
|
||||
gen_files_k5 = \
|
||||
@@ -309,6 +311,7 @@ gen_files_rfc2459 = \
|
||||
$(OBJ)\asn1_id_rsadsi_encalg.x \
|
||||
$(OBJ)\asn1_id_rsadsi_rc2_cbc.x \
|
||||
$(OBJ)\asn1_id_secsig_sha_1.x \
|
||||
$(OBJ)\asn1_id_secsig_sha_1WithRSAEncryption.x \
|
||||
$(OBJ)\asn1_id_sha224.x \
|
||||
$(OBJ)\asn1_id_sha256.x \
|
||||
$(OBJ)\asn1_id_sha384.x \
|
||||
@@ -492,9 +495,7 @@ gen_files_kx509 = \
|
||||
$(OBJ)\asn1_Kx509Request.x
|
||||
|
||||
ASN1_BINARIES = \
|
||||
$(LIBEXECDIR)\asn1_compile.exe \
|
||||
$(LIBEXECDIR)\asn1_print.exe \
|
||||
$(BINDIR)\asn1_gen.exe
|
||||
$(LIBEXECDIR)\asn1_compile.exe
|
||||
|
||||
$(BINDIR)\asn1_compile.exe: \
|
||||
$(OBJ)\asn1parse.obj \
|
||||
@@ -510,11 +511,10 @@ $(BINDIR)\asn1_compile.exe: \
|
||||
$(OBJ)\hash.obj \
|
||||
$(OBJ)\lex.obj \
|
||||
$(OBJ)\main.obj \
|
||||
$(OBJ)\symbol.obj
|
||||
$(OBJ)\symbol.obj \
|
||||
$(OBJ)\asn1_compile-version.res
|
||||
$(EXECONLINK) $(LIBROKEN) $(LIBVERS)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(OBJ)\lex.c: lex.l $(OBJ)\asn1parse.h
|
||||
$(LEX) -o$@ lex.l
|
||||
@@ -527,17 +527,13 @@ $(OBJ)\asn1_err.c $(OBJ)\asn1_err.h: asn1_err.et
|
||||
$(BINDIR)\compile_et.exe $(SRCDIR)\asn1_err.et
|
||||
cd $(SRCDIR)
|
||||
|
||||
$(BINDIR)\asn1_print.exe: $(OBJ)\asn1_print.obj $(LIBASN1)
|
||||
$(BINDIR)\asn1_print.exe: $(OBJ)\asn1_print.obj $(LIBHEIMDAL)
|
||||
$(EXECONLINK) $(LIBVERS) $(LIBROKEN) $(LIBCOMERR)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(BINDIR)\asn1_gen.exe: $(OBJ)\asn1_gen.obj $(LIBASN1)
|
||||
$(BINDIR)\asn1_gen.exe: $(OBJ)\asn1_gen.obj $(LIBHEIMDAL)
|
||||
$(EXECONLINK) $(LIBVERS) $(LIBROKEN)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
LIBASN1_OBJS= \
|
||||
$(OBJ)\der.obj \
|
||||
@@ -561,34 +557,12 @@ LIBASN1_OBJS= \
|
||||
$(gen_files_kx509:.x=.obj) \
|
||||
$(OBJ)\asn1_err.obj
|
||||
|
||||
LIBASN1_LIBS=\
|
||||
$(LIBROKEN) \
|
||||
$(LIBCOMERR)
|
||||
|
||||
!ifndef STATICLIBS
|
||||
|
||||
$(LIBASN1): $(BINDIR)\libasn1.dll
|
||||
|
||||
$(BINDIR)\libasn1.dll: $(LIBASN1_OBJS) $(LIBASN1_LIBS)
|
||||
$(DLLGUILINK_C) -out:$@ -def:libasn1-exports.def -implib:$(LIBASN1) @<<
|
||||
$(**: =
|
||||
)
|
||||
<<
|
||||
$(DLLPREP)
|
||||
|
||||
clean::
|
||||
-$(RM) $(BINDIR)\libasn1.dll
|
||||
|
||||
!else
|
||||
|
||||
$(LIBASN1): $(LIBASN1_OBJS)
|
||||
$(LIBCON_C) -out:$@ @<<
|
||||
$(**: =
|
||||
)
|
||||
<<
|
||||
|
||||
!endif
|
||||
|
||||
clean::
|
||||
-$(RM) $(LIBASN1)
|
||||
|
||||
@@ -757,20 +731,49 @@ clean::
|
||||
|
||||
all:: $(INCFILES) $(GENINCFILES) $(ASN1_BINARIES) $(LIBASN1)
|
||||
|
||||
all-tools:: $(LIBEXECDIR)\asn1_print.exe $(BINDIR)\asn1_gen.exe
|
||||
|
||||
TEST_BINARIES=\
|
||||
$(OBJ)\check-der.exe \
|
||||
$(OBJ)\check-gen.exe \
|
||||
$(OBJ)\check-timegm.exe
|
||||
$(OBJ)\check-timegm.exe \
|
||||
$(OBJ)\check-ber.exe \
|
||||
$(OBJ)\check-template.exe \
|
||||
|
||||
test-binaries: $(TEST_BINARIES)
|
||||
|
||||
test-run:
|
||||
cd $(OBJ)
|
||||
check-der.exe
|
||||
check-gen.exe
|
||||
check-timegm.exe
|
||||
check-ber.exe
|
||||
check-template.exe
|
||||
cd $(SRC)
|
||||
|
||||
test:: test-binaries test-run
|
||||
|
||||
{$(OBJ)}.c{$(OBJ)}.obj:
|
||||
$(C2OBJ) -I$(SRCDIR) -I$(OBJ)
|
||||
$(OBJ)\check-ber.exe: $(OBJ)\check-ber.obj \
|
||||
$(LIBHEIMDAL) $(LIBROKEN)
|
||||
$(EXECONLINK)
|
||||
$(EXEPREP_NODIST)
|
||||
|
||||
{}.c{$(OBJ)}.obj:
|
||||
$(C2OBJ) -I$(SRCDIR) -I$(OBJ)
|
||||
$(OBJ)\check-der.exe: $(OBJ)\check-der.obj $(OBJ)\check-common.obj \
|
||||
$(LIBHEIMDAL) $(LIBROKEN)
|
||||
$(EXECONLINK)
|
||||
$(EXEPREP_NODIST)
|
||||
|
||||
$(OBJ)\check-gen.exe: $(OBJ)\check-gen.obj $(OBJ)\check-common.obj \
|
||||
$(LIBHEIMDAL) $(LIBROKEN) $(gen_files_test:.x=.obj)
|
||||
$(EXECONLINK)
|
||||
$(EXEPREP_NODIST)
|
||||
|
||||
$(OBJ)\check-timegm.exe: $(OBJ)\check-timegm.obj \
|
||||
$(LIBHEIMDAL) $(LIBROKEN)
|
||||
$(EXECONLINK)
|
||||
$(EXEPREP_NODIST)
|
||||
|
||||
$(OBJ)\check-template.exe: $(OBJ)\check-template.obj $(OBJ)\check-common.obj \
|
||||
$(LIBHEIMDAL) $(LIBROKEN) $(gen_files_test:.x=.obj)
|
||||
$(EXECONLINK)
|
||||
$(EXEPREP_NODIST)
|
||||
|
@@ -64,4 +64,16 @@ typedef struct heim_octet_string heim_any_set;
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef ASN1_LIB
|
||||
#define ASN1EXP __declspec(dllimport)
|
||||
#else
|
||||
#define ASN1EXP
|
||||
#endif
|
||||
#define ASN1CALL __stdcall
|
||||
#else
|
||||
#define ASN1EXP
|
||||
#define ASN1CALL
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
36
lib/asn1/asn1_compile-version.rc
Normal file
36
lib/asn1/asn1_compile-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "ASN.1 Compiler"
|
||||
#define RC_FILE_ORIG_0409 "asn1_compile.exe"
|
||||
|
||||
#include "../../windows/version.rc"
|
@@ -208,7 +208,9 @@ generic_test (const struct test_case *tests,
|
||||
void *data;
|
||||
struct map_page *data_map, *buf_map, *buf2_map;
|
||||
|
||||
#ifdef HAVE_SIGACTION
|
||||
struct sigaction sa, osa;
|
||||
#endif
|
||||
|
||||
for (i = 0; i < ntests; ++i) {
|
||||
int ret;
|
||||
@@ -219,6 +221,7 @@ generic_test (const struct test_case *tests,
|
||||
|
||||
current_state = "init";
|
||||
|
||||
#ifdef HAVE_SIGACTION
|
||||
sigemptyset (&sa.sa_mask);
|
||||
sa.sa_flags = 0;
|
||||
#ifdef SA_RESETHAND
|
||||
@@ -226,6 +229,7 @@ generic_test (const struct test_case *tests,
|
||||
#endif
|
||||
sa.sa_handler = segv_handler;
|
||||
sigaction (SIGSEGV, &sa, &osa);
|
||||
#endif
|
||||
|
||||
data = map_alloc(OVERRUN, NULL, data_size, &data_map);
|
||||
|
||||
@@ -241,7 +245,7 @@ generic_test (const struct test_case *tests,
|
||||
continue;
|
||||
}
|
||||
if (sz != tests[i].byte_len) {
|
||||
printf ("encoding of %s has wrong len (%lu != %lu)\n",
|
||||
printf ("encoding of %s has wrong len (%lu != %lu)\n",
|
||||
tests[i].name,
|
||||
(unsigned long)sz, (unsigned long)tests[i].byte_len);
|
||||
++failures;
|
||||
@@ -329,7 +333,9 @@ generic_test (const struct test_case *tests,
|
||||
map_free(buf2_map, tests[i].name, "decode");
|
||||
map_free(data_map, tests[i].name, "data");
|
||||
|
||||
#ifdef HAVE_SIGACTION
|
||||
sigaction (SIGSEGV, &osa, NULL);
|
||||
#endif
|
||||
}
|
||||
current_state = "done";
|
||||
return failures;
|
||||
@@ -355,7 +361,9 @@ generic_decode_fail (const struct test_case *tests,
|
||||
void *data;
|
||||
struct map_page *data_map, *buf_map;
|
||||
|
||||
#ifdef HAVE_SIGACTION
|
||||
struct sigaction sa, osa;
|
||||
#endif
|
||||
|
||||
for (i = 0; i < ntests; ++i) {
|
||||
int ret;
|
||||
@@ -366,6 +374,7 @@ generic_decode_fail (const struct test_case *tests,
|
||||
|
||||
current_state = "init";
|
||||
|
||||
#ifdef HAVE_SIGACTION
|
||||
sigemptyset (&sa.sa_mask);
|
||||
sa.sa_flags = 0;
|
||||
#ifdef SA_RESETHAND
|
||||
@@ -373,6 +382,7 @@ generic_decode_fail (const struct test_case *tests,
|
||||
#endif
|
||||
sa.sa_handler = segv_handler;
|
||||
sigaction (SIGSEGV, &sa, &osa);
|
||||
#endif
|
||||
|
||||
data = map_alloc(OVERRUN, NULL, data_size, &data_map);
|
||||
|
||||
@@ -402,7 +412,9 @@ generic_decode_fail (const struct test_case *tests,
|
||||
map_free(buf_map, tests[i].name, "encode");
|
||||
map_free(data_map, tests[i].name, "data");
|
||||
|
||||
#ifdef HAVE_SIGACTION
|
||||
sigaction (SIGSEGV, &osa, NULL);
|
||||
#endif
|
||||
}
|
||||
current_state = "done";
|
||||
return failures;
|
||||
|
@@ -228,6 +228,18 @@ init_generate (const char *filename, const char *base)
|
||||
" } \\\n"
|
||||
" } while (0)\n\n",
|
||||
headerfile);
|
||||
fputs("#ifdef _WIN32\n"
|
||||
"#ifndef ASN1_LIB\n"
|
||||
"#define ASN1EXP __declspec(dllimport)\n"
|
||||
"#else\n"
|
||||
"#define ASN1EXP\n"
|
||||
"#endif\n"
|
||||
"#define ASN1CALL __stdcall\n"
|
||||
"#else\n"
|
||||
"#define ASN1EXP\n"
|
||||
"#define ASN1CALL\n"
|
||||
"#endif\n",
|
||||
headerfile);
|
||||
fprintf (headerfile, "struct units;\n\n");
|
||||
fprintf (headerfile, "#endif\n\n");
|
||||
if (asprintf(&fn, "%s_files", base) < 0 || fn == NULL)
|
||||
@@ -340,6 +352,7 @@ generate_header_of_codefile(const char *name)
|
||||
fprintf (codefile,
|
||||
"/* Generated from %s */\n"
|
||||
"/* Do not edit */\n\n"
|
||||
"#define ASN1_LIB\n\n"
|
||||
"#include <stdio.h>\n"
|
||||
"#include <stdlib.h>\n"
|
||||
"#include <time.h>\n"
|
||||
@@ -975,6 +988,7 @@ void
|
||||
generate_type (const Symbol *s)
|
||||
{
|
||||
FILE *h;
|
||||
const char * exp;
|
||||
|
||||
if (!one_code_file)
|
||||
generate_header_of_codefile(s->gen_name);
|
||||
@@ -996,30 +1010,37 @@ generate_type (const Symbol *s)
|
||||
|
||||
/* generate prototypes */
|
||||
|
||||
if (is_export(s->name))
|
||||
if (is_export(s->name)) {
|
||||
h = headerfile;
|
||||
else
|
||||
exp = "ASN1EXP ";
|
||||
} else {
|
||||
h = privheaderfile;
|
||||
exp = "";
|
||||
}
|
||||
|
||||
fprintf (h,
|
||||
"int "
|
||||
"%sint ASN1CALL "
|
||||
"decode_%s(const unsigned char *, size_t, %s *, size_t *);\n",
|
||||
exp,
|
||||
s->gen_name, s->gen_name);
|
||||
fprintf (h,
|
||||
"int "
|
||||
"%sint ASN1CALL "
|
||||
"encode_%s(unsigned char *, size_t, const %s *, size_t *);\n",
|
||||
exp,
|
||||
s->gen_name, s->gen_name);
|
||||
fprintf (h,
|
||||
"size_t length_%s(const %s *);\n",
|
||||
"%ssize_t ASN1CALL length_%s(const %s *);\n",
|
||||
exp,
|
||||
s->gen_name, s->gen_name);
|
||||
fprintf (h,
|
||||
"int copy_%s (const %s *, %s *);\n",
|
||||
"%sint ASN1CALL copy_%s (const %s *, %s *);\n",
|
||||
exp,
|
||||
s->gen_name, s->gen_name, s->gen_name);
|
||||
fprintf (h,
|
||||
"void free_%s (%s *);\n",
|
||||
"%svoid ASN1CALL free_%s (%s *);\n",
|
||||
exp,
|
||||
s->gen_name, s->gen_name);
|
||||
|
||||
|
||||
fprintf(h, "\n\n");
|
||||
|
||||
if (!one_code_file) {
|
||||
|
@@ -231,7 +231,7 @@ generate_type_copy (const Symbol *s)
|
||||
|
||||
used_fail = 0;
|
||||
|
||||
fprintf (codefile, "int\n"
|
||||
fprintf (codefile, "int ASN1CALL\n"
|
||||
"copy_%s(const %s *from, %s *to)\n"
|
||||
"{\n"
|
||||
"memset(to, 0, sizeof(*to));\n",
|
||||
|
@@ -661,7 +661,7 @@ generate_type_decode (const Symbol *s)
|
||||
{
|
||||
int preserve = preserve_type(s->name) ? TRUE : FALSE;
|
||||
|
||||
fprintf (codefile, "int\n"
|
||||
fprintf (codefile, "int ASN1CALL\n"
|
||||
"decode_%s(const unsigned char *p,"
|
||||
" size_t len, %s *data, size_t *size)\n"
|
||||
"{\n",
|
||||
|
@@ -288,8 +288,8 @@ encode_type (const char *name, const Type *t, const char *tmpstr)
|
||||
fprintf(codefile,
|
||||
"{\n"
|
||||
"struct heim_octet_string *val;\n"
|
||||
"size_t elen, totallen = 0;\n"
|
||||
"int eret;\n");
|
||||
"size_t elen = 0, totallen = 0;\n"
|
||||
"int eret = 0;\n");
|
||||
|
||||
fprintf(codefile,
|
||||
"if ((%s)->len > UINT_MAX/sizeof(val[0]))\n"
|
||||
@@ -502,7 +502,7 @@ encode_type (const char *name, const Type *t, const char *tmpstr)
|
||||
void
|
||||
generate_type_encode (const Symbol *s)
|
||||
{
|
||||
fprintf (codefile, "int\n"
|
||||
fprintf (codefile, "int ASN1CALL\n"
|
||||
"encode_%s(unsigned char *p, size_t len,"
|
||||
" const %s *data, size_t *size)\n"
|
||||
"{\n",
|
||||
|
@@ -180,7 +180,7 @@ generate_type_free (const Symbol *s)
|
||||
{
|
||||
int preserve = preserve_type(s->name) ? TRUE : FALSE;
|
||||
|
||||
fprintf (codefile, "void\n"
|
||||
fprintf (codefile, "void ASN1CALL\n"
|
||||
"free_%s(%s *data)\n"
|
||||
"{\n",
|
||||
s->gen_name, s->gen_name);
|
||||
|
@@ -187,13 +187,13 @@ length_type (const char *name, const Type *t,
|
||||
|
||||
fprintf (codefile,
|
||||
"{\n"
|
||||
"int %s_oldret = %s;\n"
|
||||
"size_t %s_oldret = %s;\n"
|
||||
"int i;\n"
|
||||
"%s = 0;\n",
|
||||
tmpstr, variable, variable);
|
||||
|
||||
fprintf (codefile, "for(i = (%s)->len - 1; i >= 0; --i){\n", name);
|
||||
fprintf (codefile, "int %s_for_oldret = %s;\n"
|
||||
fprintf (codefile, "size_t %s_for_oldret = %s;\n"
|
||||
"%s = 0;\n", tmpstr, variable, variable);
|
||||
if (asprintf (&n, "&(%s)->val[i]", name) < 0 || n == NULL)
|
||||
errx(1, "malloc");
|
||||
@@ -267,7 +267,7 @@ void
|
||||
generate_type_length (const Symbol *s)
|
||||
{
|
||||
fprintf (codefile,
|
||||
"size_t\n"
|
||||
"size_t ASN1CALL\n"
|
||||
"length_%s(const %s *data)\n"
|
||||
"{\n"
|
||||
"size_t ret = 0;\n",
|
||||
|
@@ -67,12 +67,12 @@ generate_type_seq (const Symbol *s)
|
||||
subname = type->subtype->symbol->gen_name;
|
||||
|
||||
fprintf (headerfile,
|
||||
"int add_%s (%s *, const %s *);\n"
|
||||
"int remove_%s (%s *, unsigned int);\n",
|
||||
"ASN1EXP int ASN1CALL add_%s (%s *, const %s *);\n"
|
||||
"ASN1EXP int ASN1CALL remove_%s (%s *, unsigned int);\n",
|
||||
s->gen_name, s->gen_name, subname,
|
||||
s->gen_name, s->gen_name);
|
||||
|
||||
fprintf (codefile, "int\n"
|
||||
fprintf (codefile, "int ASN1CALL\n"
|
||||
"add_%s(%s *data, const %s *element)\n"
|
||||
"{\n",
|
||||
s->gen_name, s->gen_name, subname);
|
||||
@@ -93,7 +93,7 @@ generate_type_seq (const Symbol *s)
|
||||
|
||||
fprintf (codefile, "}\n\n");
|
||||
|
||||
fprintf (codefile, "int\n"
|
||||
fprintf (codefile, "int ASN1CALL\n"
|
||||
"remove_%s(%s *data, unsigned int element)\n"
|
||||
"{\n",
|
||||
s->gen_name, s->gen_name);
|
||||
|
@@ -31,6 +31,8 @@
|
||||
|
||||
RELDIR = lib\com_err
|
||||
|
||||
intcflags=-DBUILD_KRB5_LIB
|
||||
|
||||
!include ../../windows/NTMakefile.w32
|
||||
|
||||
INCFILES=$(INCDIR)\com_err.h $(INCDIR)\com_right.h
|
||||
@@ -52,17 +54,13 @@ $(COMERRDLL): $(libcomerr_OBJs) $(OBJ)\libcom_err-version.res
|
||||
$(DLLGUILINK_C) -out:$(COMERRDLL) -implib:$(LIBCOMERR) $** \
|
||||
$(LIBROKEN) \
|
||||
-def:libcom_err-exports.def
|
||||
$(_VC_MANIFEST_EMBED_DLL)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(DLLPREP)
|
||||
|
||||
!endif
|
||||
|
||||
$(BINDIR)\compile_et.exe: $(OBJ)\parse.obj $(OBJ)\lex.obj $(OBJ)\compile_et.obj
|
||||
$(BINDIR)\compile_et.exe: $(OBJ)\parse.obj $(OBJ)\lex.obj $(OBJ)\compile_et.obj $(OBJ)\compile_et-version.res
|
||||
$(EXECONLINK) $(LIBROKEN) $(LIBVERS)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP)
|
||||
|
||||
$(OBJ)\parse.obj: $(OBJ)\parse.c
|
||||
$(C2OBJ) -I$(SRC)\$(RELDIR)
|
||||
@@ -86,3 +84,7 @@ clean::
|
||||
-$(RM) $(INCFILES)
|
||||
-$(RM) $(COMERRDLL)
|
||||
|
||||
test-exports:
|
||||
$(PERL) ..\..\cf\w32-check-exported-symbols.pl --vs version-script.map --def libcom_err-exports.def
|
||||
|
||||
test:: test-exports
|
||||
|
@@ -43,7 +43,7 @@
|
||||
struct et_list *_et_list = NULL;
|
||||
|
||||
|
||||
const char *
|
||||
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
|
||||
error_message (long code)
|
||||
{
|
||||
static char msg[128];
|
||||
@@ -61,18 +61,18 @@ error_message (long code)
|
||||
return msg;
|
||||
}
|
||||
|
||||
int
|
||||
KRB5_LIB_FUNCTION int KRB5_LIB_CALL
|
||||
init_error_table(const char **msgs, long base, int count)
|
||||
{
|
||||
initialize_error_table_r(&_et_list, msgs, count, base);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void
|
||||
static void KRB5_CALLCONV
|
||||
default_proc (const char *whoami, long code, const char *fmt, va_list args)
|
||||
__attribute__((__format__(__printf__, 3, 0)));
|
||||
|
||||
static void
|
||||
static void KRB5_CALLCONV
|
||||
default_proc (const char *whoami, long code, const char *fmt, va_list args)
|
||||
{
|
||||
if (whoami)
|
||||
@@ -86,7 +86,7 @@ default_proc (const char *whoami, long code, const char *fmt, va_list args)
|
||||
|
||||
static errf com_err_hook = default_proc;
|
||||
|
||||
void
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
com_err_va (const char *whoami,
|
||||
long code,
|
||||
const char *fmt,
|
||||
@@ -95,7 +95,7 @@ com_err_va (const char *whoami,
|
||||
(*com_err_hook) (whoami, code, fmt, args);
|
||||
}
|
||||
|
||||
void
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
com_err (const char *whoami,
|
||||
long code,
|
||||
const char *fmt,
|
||||
@@ -107,7 +107,7 @@ com_err (const char *whoami,
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
errf
|
||||
KRB5_LIB_FUNCTION errf KRB5_LIB_CALL
|
||||
set_com_err_hook (errf new)
|
||||
{
|
||||
errf old = com_err_hook;
|
||||
@@ -120,7 +120,7 @@ set_com_err_hook (errf new)
|
||||
return old;
|
||||
}
|
||||
|
||||
errf
|
||||
KRB5_LIB_FUNCTION errf KRB5_LIB_CALL
|
||||
reset_com_err_hook (void)
|
||||
{
|
||||
return set_com_err_hook(NULL);
|
||||
@@ -134,7 +134,7 @@ static const char char_set[] =
|
||||
|
||||
static char buf[6];
|
||||
|
||||
const char *
|
||||
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
|
||||
error_table_name(int num)
|
||||
{
|
||||
int ch;
|
||||
@@ -156,7 +156,7 @@ error_table_name(int num)
|
||||
return(buf);
|
||||
}
|
||||
|
||||
void
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
add_to_error_table(struct et_list *new_table)
|
||||
{
|
||||
struct et_list *et;
|
||||
|
@@ -45,22 +45,52 @@
|
||||
#define __attribute__(X)
|
||||
#endif
|
||||
|
||||
typedef void (*errf) (const char *, long, const char *, va_list);
|
||||
#ifndef KRB5_LIB
|
||||
#ifndef KRB5_LIB_FUNCTION
|
||||
#if defined(_WIN32)
|
||||
#define KRB5_LIB_FUNCTION __declspec(dllimport)
|
||||
#define KRB5_LIB_CALL __stdcall
|
||||
#define KRB5_LIB_VARIABLE __declspec(dllimport)
|
||||
#else
|
||||
#define KRB5_LIB_FUNCTION
|
||||
#define KRB5_LIB_CALL
|
||||
#define KRB5_LIB_VARIABLE
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const char * error_message (long);
|
||||
int init_error_table (const char**, long, int);
|
||||
#ifdef _WIN32
|
||||
#define KRB5_CALLCONV __stdcall
|
||||
#else
|
||||
#define KRB5_CALLCONV
|
||||
#endif
|
||||
|
||||
void com_err_va (const char *, long, const char *, va_list)
|
||||
typedef void (KRB5_CALLCONV *errf) (const char *, long, const char *, va_list);
|
||||
|
||||
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
|
||||
error_message (long);
|
||||
|
||||
KRB5_LIB_FUNCTION int KRB5_LIB_CALL
|
||||
init_error_table (const char**, long, int);
|
||||
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
com_err_va (const char *, long, const char *, va_list)
|
||||
__attribute__((format(printf, 3, 0)));
|
||||
|
||||
void com_err (const char *, long, const char *, ...)
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
com_err (const char *, long, const char *, ...)
|
||||
__attribute__((format(printf, 3, 4)));
|
||||
|
||||
errf set_com_err_hook (errf);
|
||||
errf reset_com_err_hook (void);
|
||||
KRB5_LIB_FUNCTION errf KRB5_LIB_CALL
|
||||
set_com_err_hook (errf);
|
||||
|
||||
const char *error_table_name (int num);
|
||||
KRB5_LIB_FUNCTION errf KRB5_LIB_CALL
|
||||
reset_com_err_hook (void);
|
||||
|
||||
void add_to_error_table (struct et_list *new_table);
|
||||
KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL
|
||||
error_table_name (int num);
|
||||
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
add_to_error_table (struct et_list *new_table);
|
||||
|
||||
#endif /* __COM_ERR_H__ */
|
||||
|
36
lib/com_err/compile_et-version.rc
Normal file
36
lib/com_err/compile_et-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_APP
|
||||
#define RC_FILE_DESC_0409 "Error Table Compiler"
|
||||
#define RC_FILE_ORIG_0409 "compile_et.exe"
|
||||
|
||||
#include "../../windows/version.rc"
|
@@ -1,19 +1,19 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2009, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
@@ -26,11 +26,11 @@
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_DLL
|
||||
#define RC_FILE_COMMENT_0409 "Some comment"
|
||||
#define RC_FILE_DESC_0409 "Common Error Library"
|
||||
#define RC_FILE_ORIG_0409 "com_err.dll"
|
||||
|
||||
#include "../../windows/version.rc"
|
||||
|
@@ -43,9 +43,7 @@ $(LIBDIR)\libeditline.lib: $(libeditline_la_OBJS)
|
||||
|
||||
$(OBJ)\testit.exe: $(OBJ)\testit.obj $(LIBEDITLINE) $(LIBROKEN) $(LIBVERS)
|
||||
$(EXECONLINK)
|
||||
$(_VC_MANIFEST_EMBED_EXE)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(EXEPREP_NODIST)
|
||||
|
||||
all:: $(LIBEDITLINE)
|
||||
|
||||
@@ -55,8 +53,6 @@ clean::
|
||||
test-binaries: $(OBJ)\testit.exe
|
||||
|
||||
run-test:
|
||||
cd $(OBJ)
|
||||
testit.exe
|
||||
cd $(SRC)\lib\editline
|
||||
echo Please run $(OBJ)\testit.exe interactively to test.
|
||||
|
||||
test:: test-binaries run-test
|
||||
|
@@ -91,7 +91,6 @@ mechsrc = \
|
||||
mech/context.h \
|
||||
mech/context.c \
|
||||
mech/cred.h \
|
||||
mech/doxygen.c \
|
||||
mech/gss_accept_sec_context.c \
|
||||
mech/gss_acquire_cred.c \
|
||||
mech/gss_add_cred.c \
|
||||
@@ -309,7 +308,6 @@ libgssapi_OBJs = \
|
||||
$(OBJ)\krb5/verify_mic.obj \
|
||||
$(OBJ)\krb5/wrap.obj \
|
||||
$(OBJ)\mech/context.obj \
|
||||
$(OBJ)\mech/doxygen.obj \
|
||||
$(OBJ)\mech/gss_accept_sec_context.obj \
|
||||
$(OBJ)\mech/gss_acquire_cred.obj \
|
||||
$(OBJ)\mech/gss_add_cred.obj \
|
||||
@@ -406,38 +404,38 @@ libgssapi_OBJs = \
|
||||
|
||||
GCOPTS=-I$(SRCDIR) -I$(OBJ) -Igssapi -DBUILD_GSSAPI_LIB
|
||||
|
||||
{$(OBJ)\krb5}.c{$(OBJ)\krb5}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\krb5 $(GCOPTS)
|
||||
{$(OBJ)\krb5}.c{$(OBJ)\krb5}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\krb5\ -Fd$(OBJ)\krb5\ -I$(OBJ)\krb5 $(GCOPTS)
|
||||
|
||||
{krb5}.c{$(OBJ)\krb5}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\krb5 $(GCOPTS)
|
||||
{krb5}.c{$(OBJ)\krb5}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\krb5\ -Fd$(OBJ)\krb5\ -I$(OBJ)\krb5 $(GCOPTS)
|
||||
|
||||
{$(OBJ)\mech}.c{$(OBJ)\mech}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\mech $(GCOPTS)
|
||||
{$(OBJ)\mech}.c{$(OBJ)\mech}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\mech\ -Fd$(OBJ)\mech\ -I$(OBJ)\mech $(GCOPTS)
|
||||
|
||||
{mech}.c{$(OBJ)\mech}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\mech -I$(OBJ)\gssapi $(GCOPTS)
|
||||
{mech}.c{$(OBJ)\mech}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\mech\ -Fd$(OBJ)\mech\ -I$(OBJ)\mech -I$(OBJ)\gssapi $(GCOPTS)
|
||||
|
||||
{$(OBJ)\ntlm}.c{$(OBJ)\ntlm}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\ntlm $(GCOPTS)
|
||||
{$(OBJ)\ntlm}.c{$(OBJ)\ntlm}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\ntlm\ -Fd$(OBJ)\ntlm\ -I$(OBJ)\ntlm $(GCOPTS)
|
||||
|
||||
{ntlm}.c{$(OBJ)\ntlm}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\ntlm $(GCOPTS)
|
||||
{ntlm}.c{$(OBJ)\ntlm}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\ntlm\ -Fd$(OBJ)\ntlm\ -I$(OBJ)\ntlm $(GCOPTS)
|
||||
|
||||
{$(OBJ)\spnego}.c{$(OBJ)\spnego}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\spnego $(GCOPTS)
|
||||
{$(OBJ)\spnego}.c{$(OBJ)\spnego}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\spnego\ -Fd$(OBJ)\spnego\ -I$(OBJ)\spnego $(GCOPTS)
|
||||
|
||||
{spnego}.c{$(OBJ)\spnego}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\spnego -Imech $(GCOPTS)
|
||||
{spnego}.c{$(OBJ)\spnego}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\spnego\ -Fd$(OBJ)\spnego\ -I$(OBJ)\spnego -Imech $(GCOPTS)
|
||||
|
||||
{$(OBJ)\gssapi}.c{$(OBJ)\gssapi}.obj:
|
||||
$(C2OBJ) -I$(OBJ)\gssapi $(GCOPTS)
|
||||
{$(OBJ)\gssapi}.c{$(OBJ)\gssapi}.obj::
|
||||
$(C2OBJ_NP) -Fo$(OBJ)\gssapi\ -Fd$(OBJ)\gssapi\ -I$(OBJ)\gssapi $(GCOPTS)
|
||||
|
||||
{}.c{$(OBJ)}.obj:
|
||||
$(C2OBJ) $(GCOPTS)
|
||||
{}.c{$(OBJ)}.obj::
|
||||
$(C2OBJ_P) $(GCOPTS)
|
||||
|
||||
{$(OBJ)}.c{$(OBJ)}.obj:
|
||||
$(C2OBJ) $(GCOPTS)
|
||||
{$(OBJ)}.c{$(OBJ)}.obj::
|
||||
$(C2OBJ_P) $(GCOPTS)
|
||||
|
||||
{$(OBJ)\spnego}.x{$(OBJ)\spnego}.c:
|
||||
$(CP) $** $@
|
||||
@@ -456,9 +454,7 @@ GCOPTS=-I$(SRCDIR) -I$(OBJ) -Igssapi -DBUILD_GSSAPI_LIB
|
||||
|
||||
LIBGSSAPI_LIBS=\
|
||||
$(LIBROKEN) \
|
||||
$(LIBASN1) \
|
||||
$(LIBKRB5) \
|
||||
$(LIBHCRYPTO) \
|
||||
$(LIBHEIMDAL) \
|
||||
$(LIBHEIMNTLM) \
|
||||
$(LIBCOMERR)
|
||||
|
||||
@@ -467,22 +463,22 @@ LIBGSSAPI_SDKLIBS=\
|
||||
|
||||
!ifndef STATICLIBS
|
||||
|
||||
$(BINDIR)\libgssapi.dll: $(libgssapi_OBJs)
|
||||
RES=$(OBJ)\libgssapi-version.res
|
||||
|
||||
$(BINDIR)\gssapi.dll: $(libgssapi_OBJs) $(RES)
|
||||
$(DLLGUILINK_C) -implib:$(LIBGSSAPI) \
|
||||
-out:$(BINDIR)\libgssapi.dll \
|
||||
-out:$(BINDIR)\gssapi.dll \
|
||||
-def:libgssapi-exports.def \
|
||||
$(LIBGSSAPI_LIBS) $(LIBGSSAPI_SDKLIBS) @<<
|
||||
$(LIBGSSAPI_LIBS) $(RES) $(LIBGSSAPI_SDKLIBS) @<<
|
||||
$(libgssapi_OBJs: =
|
||||
)
|
||||
<<
|
||||
$(_VC_MANIFEST_EMBED_DLL)
|
||||
$(_VC_MANIFEST_CLEAN)
|
||||
$(_CODESIGN)
|
||||
$(DLLPREP)
|
||||
|
||||
$(LIBGSSAPI): $(BINDIR)\libgssapi.dll
|
||||
$(LIBGSSAPI): $(BINDIR)\gssapi.dll
|
||||
|
||||
clean::
|
||||
-$(RM) $(BINDIR)\libgssapi.dll
|
||||
-$(RM) $(BINDIR)\gssapi.dll
|
||||
|
||||
!else
|
||||
|
||||
@@ -535,3 +531,8 @@ clean::
|
||||
"\t$(gssapi_files:.x=.obj)")
|
||||
"krb5src" "mechsrc" "spnegosrc" "ntlmsrc")
|
||||
!endif
|
||||
|
||||
test-exports:
|
||||
$(PERL) ..\..\cf\w32-check-exported-symbols.pl --vs version-script.map --def libgssapi-exports.def
|
||||
|
||||
test:: test-exports
|
||||
|
@@ -73,6 +73,12 @@
|
||||
#define GSSAPI_CPP_END
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define GSSAPI_CALLCONV __stdcall
|
||||
#else
|
||||
#define GSSAPI_CALLCONV
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Now define the three implementation-dependent types.
|
||||
*/
|
||||
@@ -446,7 +452,7 @@ extern gss_OID_desc GSSAPI_LIB_VARIABLE __gss_sasl_digest_md5_mechanism_oid_desc
|
||||
* Finally, function prototypes for the GSS-API routines.
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_acquire_cred
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_acquire_cred
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*desired_name*/,
|
||||
OM_uint32 /*time_req*/,
|
||||
@@ -457,12 +463,12 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_acquire_cred
|
||||
OM_uint32 * /*time_rec*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_release_cred
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_release_cred
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_cred_id_t * /*cred_handle*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_init_sec_context
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_init_sec_context
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_cred_id_t /*initiator_cred_handle*/,
|
||||
gss_ctx_id_t * /*context_handle*/,
|
||||
@@ -478,7 +484,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_init_sec_context
|
||||
OM_uint32 * /*time_rec*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_accept_sec_context
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_accept_sec_context
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t * /*context_handle*/,
|
||||
const gss_cred_id_t /*acceptor_cred_handle*/,
|
||||
@@ -492,25 +498,25 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_accept_sec_context
|
||||
gss_cred_id_t * /*delegated_cred_handle*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_process_context_token
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_process_context_token
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
const gss_buffer_t /*token_buffer*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_delete_sec_context
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_delete_sec_context
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t * /*context_handle*/,
|
||||
gss_buffer_t /*output_token*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_context_time
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_context_time
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
OM_uint32 * /*time_rec*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_get_mic
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_get_mic
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
gss_qop_t /*qop_req*/,
|
||||
@@ -518,7 +524,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_get_mic
|
||||
gss_buffer_t /*message_token*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_verify_mic
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_verify_mic
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
const gss_buffer_t /*message_buffer*/,
|
||||
@@ -526,7 +532,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_verify_mic
|
||||
gss_qop_t * /*qop_state*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_wrap
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
int /*conf_req_flag*/,
|
||||
@@ -536,7 +542,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_wrap
|
||||
gss_buffer_t /*output_message_buffer*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_unwrap
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_unwrap
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
const gss_buffer_t /*input_message_buffer*/,
|
||||
@@ -545,7 +551,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_unwrap
|
||||
gss_qop_t * /*qop_state*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_display_status
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_display_status
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
OM_uint32 /*status_value*/,
|
||||
int /*status_type*/,
|
||||
@@ -554,54 +560,54 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_display_status
|
||||
gss_buffer_t /*status_string*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_indicate_mechs
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_indicate_mechs
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_OID_set * /*mech_set*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_compare_name
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_compare_name
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*name1*/,
|
||||
const gss_name_t /*name2*/,
|
||||
int * /*name_equal*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_display_name
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_display_name
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*input_name*/,
|
||||
gss_buffer_t /*output_name_buffer*/,
|
||||
gss_OID * /*output_name_type*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_import_name
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_import_name
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_buffer_t /*input_name_buffer*/,
|
||||
const gss_OID /*input_name_type*/,
|
||||
gss_name_t * /*output_name*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_export_name
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_export_name
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*input_name*/,
|
||||
gss_buffer_t /*exported_name*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_release_name
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_release_name
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_name_t * /*input_name*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_release_buffer
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_release_buffer
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_buffer_t /*buffer*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_release_oid_set
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_release_oid_set
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_OID_set * /*set*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_cred
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
const gss_cred_id_t /*cred_handle*/,
|
||||
gss_name_t * /*name*/,
|
||||
@@ -610,7 +616,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_cred
|
||||
gss_OID_set * /*mechanisms*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_context (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_context (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
gss_name_t * /*src_name*/,
|
||||
@@ -622,7 +628,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_context (
|
||||
int * /*open_context*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_wrap_size_limit (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_wrap_size_limit (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_ctx_id_t /*context_handle*/,
|
||||
int /*conf_req_flag*/,
|
||||
@@ -631,7 +637,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_wrap_size_limit (
|
||||
OM_uint32 * /*max_input_size*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_add_cred (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_cred (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_cred_id_t /*input_cred_handle*/,
|
||||
const gss_name_t /*desired_name*/,
|
||||
@@ -645,7 +651,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_add_cred (
|
||||
OM_uint32 * /*acceptor_time_rec*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_cred_by_mech (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_cred_by_mech (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_cred_id_t /*cred_handle*/,
|
||||
const gss_OID /*mech_type*/,
|
||||
@@ -655,81 +661,81 @@ OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_cred_by_mech (
|
||||
gss_cred_usage_t * /*cred_usage*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_export_sec_context (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_export_sec_context (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t * /*context_handle*/,
|
||||
gss_buffer_t /*interprocess_token*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_import_sec_context (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_import_sec_context (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_buffer_t /*interprocess_token*/,
|
||||
gss_ctx_id_t * /*context_handle*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_create_empty_oid_set (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_create_empty_oid_set (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
gss_OID_set * /*oid_set*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_add_oid_set_member (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_add_oid_set_member (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_OID /*member_oid*/,
|
||||
gss_OID_set * /*oid_set*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_test_oid_set_member (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_test_oid_set_member (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_OID /*member*/,
|
||||
const gss_OID_set /*set*/,
|
||||
int * /*present*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_names_for_mech (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_names_for_mech (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_OID /*mechanism*/,
|
||||
gss_OID_set * /*name_types*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_inquire_mechs_for_name (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_inquire_mechs_for_name (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*input_name*/,
|
||||
gss_OID_set * /*mech_types*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_canonicalize_name (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_canonicalize_name (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*input_name*/,
|
||||
const gss_OID /*mech_type*/,
|
||||
gss_name_t * /*output_name*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_duplicate_name (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_duplicate_name (
|
||||
OM_uint32 * /*minor_status*/,
|
||||
const gss_name_t /*src_name*/,
|
||||
gss_name_t * /*dest_name*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_duplicate_oid (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_duplicate_oid (
|
||||
OM_uint32 * /* minor_status */,
|
||||
gss_OID /* src_oid */,
|
||||
gss_OID * /* dest_oid */
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_release_oid
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_OID * /* oid */
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_oid_to_str(
|
||||
OM_uint32 * /*minor_status*/,
|
||||
gss_OID /* oid */,
|
||||
gss_buffer_t /* str */
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_inquire_sec_context_by_oid(
|
||||
OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
@@ -737,38 +743,38 @@ gss_inquire_sec_context_by_oid(
|
||||
gss_buffer_set_t *data_set
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_set_sec_context_option (OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *context_handle,
|
||||
const gss_OID desired_object,
|
||||
const gss_buffer_t value);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_set_cred_option (OM_uint32 *minor_status,
|
||||
gss_cred_id_t *cred_handle,
|
||||
const gss_OID object,
|
||||
const gss_buffer_t value);
|
||||
|
||||
int GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION int GSSAPI_LIB_CALL
|
||||
gss_oid_equal(const gss_OID a, const gss_OID b);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_create_empty_buffer_set
|
||||
(OM_uint32 * minor_status,
|
||||
gss_buffer_set_t *buffer_set);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_add_buffer_set_member
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_buffer_t member_buffer,
|
||||
gss_buffer_set_t *buffer_set);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_release_buffer_set
|
||||
(OM_uint32 * minor_status,
|
||||
gss_buffer_set_t *buffer_set);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_inquire_cred_by_oid(OM_uint32 *minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
const gss_OID desired_object,
|
||||
@@ -781,7 +787,7 @@ gss_inquire_cred_by_oid(OM_uint32 *minor_status,
|
||||
#define GSS_C_PRF_KEY_FULL 0
|
||||
#define GSS_C_PRF_KEY_PARTIAL 1
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_pseudo_random
|
||||
(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context,
|
||||
@@ -791,7 +797,7 @@ gss_pseudo_random
|
||||
gss_buffer_t prf_out
|
||||
);
|
||||
|
||||
OM_uint32
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_store_cred(OM_uint32 * /* minor_status */,
|
||||
gss_cred_id_t /* input_cred_handle */,
|
||||
gss_cred_usage_t /* cred_usage */,
|
||||
@@ -820,7 +826,7 @@ extern gss_OID_desc GSSAPI_LIB_VARIABLE __gss_c_attr_stream_sizes_oid_desc;
|
||||
#define GSS_C_ATTR_STREAM_SIZES (&__gss_c_attr_stream_sizes_oid_desc)
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_context_query_attributes(OM_uint32 * /* minor_status */,
|
||||
const gss_ctx_id_t /* context_handle */,
|
||||
const gss_OID /* attribute */,
|
||||
@@ -837,7 +843,7 @@ gss_context_query_attributes(OM_uint32 * /* minor_status */,
|
||||
* obsolete versions of these routines and their current forms.
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_sign
|
||||
GSSAPI_DEPRECATED GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_sign
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t /*context_handle*/,
|
||||
int /*qop_req*/,
|
||||
@@ -845,7 +851,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_sign
|
||||
gss_buffer_t /*message_token*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_verify
|
||||
GSSAPI_DEPRECATED GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_verify
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t /*context_handle*/,
|
||||
gss_buffer_t /*message_buffer*/,
|
||||
@@ -853,7 +859,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_verify
|
||||
int * /*qop_state*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_seal
|
||||
GSSAPI_DEPRECATED GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_seal
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t /*context_handle*/,
|
||||
int /*conf_req_flag*/,
|
||||
@@ -863,7 +869,7 @@ OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_seal
|
||||
gss_buffer_t /*output_message_buffer*/
|
||||
);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_unseal
|
||||
GSSAPI_DEPRECATED GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_unseal
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t /*context_handle*/,
|
||||
gss_buffer_t /*input_message_buffer*/,
|
||||
@@ -876,12 +882,12 @@ OM_uint32 GSSAPI_LIB_FUNCTION GSSAPI_DEPRECATED gss_unseal
|
||||
*
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_encapsulate_token(const gss_buffer_t /* input_token */,
|
||||
const gss_OID /* oid */,
|
||||
gss_buffer_t /* output_token */);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_decapsulate_token(const gss_buffer_t /* input_token */,
|
||||
const gss_OID /* oid */,
|
||||
gss_buffer_t /* output_token */);
|
||||
@@ -896,29 +902,29 @@ gss_decapsulate_token(const gss_buffer_t /* input_token */,
|
||||
* GSS_IOV
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_wrap_iov(OM_uint32 *, gss_ctx_id_t, int, gss_qop_t, int *,
|
||||
gss_iov_buffer_desc *, int);
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_unwrap_iov(OM_uint32 *, gss_ctx_id_t, int *, gss_qop_t *,
|
||||
gss_iov_buffer_desc *, int);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_wrap_iov_length(OM_uint32 *, gss_ctx_id_t, int, gss_qop_t, int *,
|
||||
gss_iov_buffer_desc *, int);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_release_iov_buffer(OM_uint32 *, gss_iov_buffer_desc *, int);
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_export_cred(OM_uint32 * /* minor_status */,
|
||||
gss_cred_id_t /* cred_handle */,
|
||||
gss_buffer_t /* cred_token */);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_import_cred(OM_uint32 * /* minor_status */,
|
||||
gss_buffer_t /* cred_token */,
|
||||
gss_cred_id_t * /* cred_handle */);
|
||||
|
@@ -149,42 +149,42 @@ struct krb5_keytab_data;
|
||||
struct krb5_ccache_data;
|
||||
struct Principal;
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_krb5_ccache_name(OM_uint32 * /*minor_status*/,
|
||||
const char * /*name */,
|
||||
const char ** /*out_name */);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gsskrb5_register_acceptor_identity
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gsskrb5_register_acceptor_identity
|
||||
(const char * /*identity*/);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION krb5_gss_register_acceptor_identity
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL krb5_gss_register_acceptor_identity
|
||||
(const char * /*identity*/);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_krb5_copy_ccache
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_krb5_copy_ccache
|
||||
(OM_uint32 * /*minor*/,
|
||||
gss_cred_id_t /*cred*/,
|
||||
struct krb5_ccache_data * /*out*/);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_krb5_import_cred(OM_uint32 * /*minor*/,
|
||||
struct krb5_ccache_data * /*in*/,
|
||||
struct Principal * /*keytab_principal*/,
|
||||
struct krb5_keytab_data * /*keytab*/,
|
||||
gss_cred_id_t * /*out*/);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION gss_krb5_get_tkt_flags
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL gss_krb5_get_tkt_flags
|
||||
(OM_uint32 * /*minor*/,
|
||||
gss_ctx_id_t /*context_handle*/,
|
||||
OM_uint32 * /*tkt_flags*/);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_extract_authz_data_from_sec_context
|
||||
(OM_uint32 * /*minor_status*/,
|
||||
gss_ctx_id_t /*context_handle*/,
|
||||
int /*ad_type*/,
|
||||
gss_buffer_t /*ad_data*/);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_set_dns_canonicalize(int);
|
||||
|
||||
struct gsskrb5_send_to_kdc {
|
||||
@@ -192,35 +192,35 @@ struct gsskrb5_send_to_kdc {
|
||||
void *ptr;
|
||||
};
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_set_send_to_kdc(struct gsskrb5_send_to_kdc *)
|
||||
GSSKRB5_FUNCTION_DEPRECATED;
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_set_default_realm(const char *);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_extract_authtime_from_sec_context(OM_uint32 *, gss_ctx_id_t, time_t *);
|
||||
|
||||
struct EncryptionKey;
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_extract_service_keyblock(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
struct EncryptionKey **out);
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_get_initiator_subkey(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
struct EncryptionKey **out);
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_get_subkey(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
struct EncryptionKey **out);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_set_time_offset(int);
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_get_time_offset(int *);
|
||||
|
||||
struct gsskrb5_krb5_plugin {
|
||||
@@ -229,7 +229,7 @@ struct gsskrb5_krb5_plugin {
|
||||
void *symbol;
|
||||
};
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gsskrb5_plugin_register(struct gsskrb5_krb5_plugin *);
|
||||
|
||||
|
||||
@@ -275,19 +275,19 @@ typedef struct gss_krb5_lucid_context_version {
|
||||
* Function declarations
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_krb5_export_lucid_sec_context(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *context_handle,
|
||||
OM_uint32 version,
|
||||
void **kctx);
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_krb5_free_lucid_sec_context(OM_uint32 *minor_status,
|
||||
void *kctx);
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_krb5_set_allowable_enctypes(OM_uint32 *minor_status,
|
||||
gss_cred_id_t cred,
|
||||
OM_uint32 num_enctypes,
|
||||
|
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <gssapi.h>
|
||||
|
||||
typedef OM_uint32 _gss_acquire_cred_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_acquire_cred_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* desired_name */
|
||||
OM_uint32, /* time_req */
|
||||
@@ -42,12 +42,12 @@ typedef OM_uint32 _gss_acquire_cred_t
|
||||
OM_uint32 * /* time_rec */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_release_cred_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_release_cred_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
gss_cred_id_t * /* cred_handle */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_init_sec_context_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_init_sec_context_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_cred_id_t, /* initiator_cred_handle */
|
||||
gss_ctx_id_t *, /* context_handle */
|
||||
@@ -64,7 +64,7 @@ typedef OM_uint32 _gss_init_sec_context_t
|
||||
OM_uint32 * /* time_rec */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_accept_sec_context_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_accept_sec_context_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
gss_ctx_id_t *, /* context_handle */
|
||||
const gss_cred_id_t, /* acceptor_cred_handle */
|
||||
@@ -79,25 +79,25 @@ typedef OM_uint32 _gss_accept_sec_context_t
|
||||
gss_cred_id_t * /* delegated_cred_handle */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_process_context_token_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_process_context_token_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
const gss_buffer_t /* token_buffer */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_delete_sec_context_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_delete_sec_context_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
gss_ctx_id_t *, /* context_handle */
|
||||
gss_buffer_t /* output_token */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_context_time_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_context_time_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
OM_uint32 * /* time_rec */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_get_mic_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_get_mic_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
gss_qop_t, /* qop_req */
|
||||
@@ -105,7 +105,7 @@ typedef OM_uint32 _gss_get_mic_t
|
||||
gss_buffer_t /* message_token */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_verify_mic_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_verify_mic_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
const gss_buffer_t, /* message_buffer */
|
||||
@@ -113,7 +113,7 @@ typedef OM_uint32 _gss_verify_mic_t
|
||||
gss_qop_t * /* qop_state */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_wrap_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
int, /* conf_req_flag */
|
||||
@@ -123,7 +123,7 @@ typedef OM_uint32 _gss_wrap_t
|
||||
gss_buffer_t /* output_message_buffer */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_unwrap_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_unwrap_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
const gss_buffer_t, /* input_message_buffer */
|
||||
@@ -132,7 +132,7 @@ typedef OM_uint32 _gss_unwrap_t
|
||||
gss_qop_t * /* qop_state */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_display_status_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_display_status_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
OM_uint32, /* status_value */
|
||||
int, /* status_type */
|
||||
@@ -141,44 +141,44 @@ typedef OM_uint32 _gss_display_status_t
|
||||
gss_buffer_t /* status_string */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_indicate_mechs_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_indicate_mechs_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
gss_OID_set * /* mech_set */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_compare_name_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_compare_name_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* name1 */
|
||||
const gss_name_t, /* name2 */
|
||||
int * /* name_equal */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_display_name_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_display_name_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* input_name */
|
||||
gss_buffer_t, /* output_name_buffer */
|
||||
gss_OID * /* output_name_type */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_import_name_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_import_name_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_buffer_t, /* input_name_buffer */
|
||||
const gss_OID, /* input_name_type */
|
||||
gss_name_t * /* output_name */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_export_name_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_export_name_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* input_name */
|
||||
gss_buffer_t /* exported_name */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_release_name_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_release_name_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
gss_name_t * /* input_name */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_cred_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_cred_id_t, /* cred_handle */
|
||||
gss_name_t *, /* name */
|
||||
@@ -187,7 +187,7 @@ typedef OM_uint32 _gss_inquire_cred_t
|
||||
gss_OID_set * /* mechanisms */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_context_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_context_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
gss_name_t *, /* src_name */
|
||||
@@ -199,7 +199,7 @@ typedef OM_uint32 _gss_inquire_context_t
|
||||
int * /* open */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_wrap_size_limit_t
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_wrap_size_limit_t
|
||||
(OM_uint32 *, /* minor_status */
|
||||
const gss_ctx_id_t, /* context_handle */
|
||||
int, /* conf_req_flag */
|
||||
@@ -208,7 +208,7 @@ typedef OM_uint32 _gss_wrap_size_limit_t
|
||||
OM_uint32 * /* max_input_size */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_add_cred_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_add_cred_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_cred_id_t, /* input_cred_handle */
|
||||
const gss_name_t, /* desired_name */
|
||||
@@ -222,7 +222,7 @@ typedef OM_uint32 _gss_add_cred_t (
|
||||
OM_uint32 * /* acceptor_time_rec */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_cred_by_mech_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_by_mech_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_cred_id_t, /* cred_handle */
|
||||
const gss_OID, /* mech_type */
|
||||
@@ -232,65 +232,65 @@ typedef OM_uint32 _gss_inquire_cred_by_mech_t (
|
||||
gss_cred_usage_t * /* cred_usage */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_export_sec_context_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_export_sec_context_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
gss_ctx_id_t *, /* context_handle */
|
||||
gss_buffer_t /* interprocess_token */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_import_sec_context_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_import_sec_context_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_buffer_t, /* interprocess_token */
|
||||
gss_ctx_id_t * /* context_handle */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_names_for_mech_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_names_for_mech_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_OID, /* mechanism */
|
||||
gss_OID_set * /* name_types */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_mechs_for_name_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_mechs_for_name_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* input_name */
|
||||
gss_OID_set * /* mech_types */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_canonicalize_name_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_canonicalize_name_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* input_name */
|
||||
const gss_OID, /* mech_type */
|
||||
gss_name_t * /* output_name */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_duplicate_name_t (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_duplicate_name_t (
|
||||
OM_uint32 *, /* minor_status */
|
||||
const gss_name_t, /* src_name */
|
||||
gss_name_t * /* dest_name */
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_sec_context_by_oid (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_sec_context_by_oid (
|
||||
OM_uint32 *minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
const gss_OID desired_object,
|
||||
gss_buffer_set_t *data_set
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_inquire_cred_by_oid (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_inquire_cred_by_oid (
|
||||
OM_uint32 *minor_status,
|
||||
const gss_cred_id_t cred,
|
||||
const gss_OID desired_object,
|
||||
gss_buffer_set_t *data_set
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_set_sec_context_option (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_set_sec_context_option (
|
||||
OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *cred_handle,
|
||||
const gss_OID desired_object,
|
||||
const gss_buffer_t value
|
||||
);
|
||||
|
||||
typedef OM_uint32 _gss_set_cred_option (
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_set_cred_option (
|
||||
OM_uint32 *minor_status,
|
||||
gss_cred_id_t *cred_handle,
|
||||
const gss_OID desired_object,
|
||||
@@ -298,7 +298,7 @@ typedef OM_uint32 _gss_set_cred_option (
|
||||
);
|
||||
|
||||
|
||||
typedef OM_uint32 _gss_pseudo_random(
|
||||
typedef OM_uint32 GSSAPI_CALLCONV _gss_pseudo_random(
|
||||
OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context,
|
||||
int prf_key,
|
||||
@@ -307,7 +307,7 @@ typedef OM_uint32 _gss_pseudo_random(
|
||||
gss_buffer_t prf_out
|
||||
);
|
||||
|
||||
typedef OM_uint32
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_wrap_iov_t(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
@@ -316,7 +316,7 @@ _gss_wrap_iov_t(OM_uint32 *minor_status,
|
||||
gss_iov_buffer_desc *iov,
|
||||
int iov_count);
|
||||
|
||||
typedef OM_uint32
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_unwrap_iov_t(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int *conf_state,
|
||||
@@ -324,7 +324,7 @@ _gss_unwrap_iov_t(OM_uint32 *minor_status,
|
||||
gss_iov_buffer_desc *iov,
|
||||
int iov_count);
|
||||
|
||||
typedef OM_uint32
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_wrap_iov_length_t(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
@@ -333,7 +333,7 @@ _gss_wrap_iov_length_t(OM_uint32 * minor_status,
|
||||
gss_iov_buffer_desc *iov,
|
||||
int iov_count);
|
||||
|
||||
typedef OM_uint32
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_store_cred_t(OM_uint32 *minor_status,
|
||||
gss_cred_id_t input_cred_handle,
|
||||
gss_cred_usage_t cred_usage,
|
||||
@@ -343,12 +343,12 @@ _gss_store_cred_t(OM_uint32 *minor_status,
|
||||
gss_OID_set *elements_stored,
|
||||
gss_cred_usage_t *cred_usage_stored);
|
||||
|
||||
typedef OM_uint32
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_export_cred_t(OM_uint32 *minor_status,
|
||||
gss_cred_id_t cred_handle,
|
||||
gss_buffer_t cred_token);
|
||||
|
||||
typedef OM_uint32
|
||||
typedef OM_uint32 GSSAPI_CALLCONV
|
||||
_gss_import_cred_t(OM_uint32 * minor_status,
|
||||
gss_buffer_t cred_token,
|
||||
gss_cred_id_t * cred_handle);
|
||||
|
@@ -800,7 +800,7 @@ acceptor_wait_for_dcestyle(OM_uint32 * minor_status,
|
||||
}
|
||||
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_accept_sec_context(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t * context_handle,
|
||||
const gss_cred_id_t acceptor_cred_handle,
|
||||
|
@@ -288,7 +288,7 @@ end:
|
||||
return (ret);
|
||||
}
|
||||
|
||||
OM_uint32 _gsskrb5_acquire_cred
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_acquire_cred
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_add_cred (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_add_cred (
|
||||
OM_uint32 *minor_status,
|
||||
const gss_cred_id_t input_cred_handle,
|
||||
const gss_name_t desired_name,
|
||||
|
@@ -35,7 +35,7 @@
|
||||
|
||||
#include <roken.h>
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gk_wrap_iov(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
@@ -57,7 +57,7 @@ _gk_wrap_iov(OM_uint32 * minor_status,
|
||||
return GSS_S_FAILURE;
|
||||
}
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gk_unwrap_iov(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int *conf_state,
|
||||
@@ -77,7 +77,7 @@ _gk_unwrap_iov(OM_uint32 *minor_status,
|
||||
return GSS_S_FAILURE;
|
||||
}
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gk_wrap_iov_length(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_canonicalize_name (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_canonicalize_name (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_name_t input_name,
|
||||
const gss_OID mech_type,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_compare_name
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_compare_name
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t name1,
|
||||
const gss_name_t name2,
|
||||
|
@@ -62,7 +62,7 @@ _gsskrb5_lifetime_left(OM_uint32 *minor_status,
|
||||
}
|
||||
|
||||
|
||||
OM_uint32 _gsskrb5_context_time
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_context_time
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
OM_uint32 * time_rec
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_export_cred(OM_uint32 *minor_status,
|
||||
gss_cred_id_t cred_handle,
|
||||
gss_buffer_t cred_token)
|
||||
@@ -154,7 +154,7 @@ _gsskrb5_export_cred(OM_uint32 *minor_status,
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_import_cred(OM_uint32 * minor_status,
|
||||
gss_buffer_t cred_token,
|
||||
gss_cred_id_t * cred_handle)
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_delete_sec_context(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t * context_handle,
|
||||
gss_buffer_t output_token)
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_display_name
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_display_name
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t input_name,
|
||||
gss_buffer_t output_name_buffer,
|
||||
|
@@ -139,7 +139,7 @@ _gsskrb5_set_status (int ret, const char *fmt, ...)
|
||||
}
|
||||
}
|
||||
|
||||
OM_uint32 _gsskrb5_display_status
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_display_status
|
||||
(OM_uint32 *minor_status,
|
||||
OM_uint32 status_value,
|
||||
int status_type,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_duplicate_name (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_duplicate_name (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_name_t src_name,
|
||||
gss_name_t * dest_name
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_export_name
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_export_name
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_name_t input_name,
|
||||
gss_buffer_t exported_name
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_export_sec_context (
|
||||
OM_uint32 * minor_status,
|
||||
gss_ctx_id_t * context_handle,
|
||||
|
@@ -273,7 +273,7 @@ mic_des3
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32 _gsskrb5_get_mic
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_get_mic
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
gss_qop_t qop_req,
|
||||
|
@@ -215,7 +215,7 @@ import_export_name (OM_uint32 *minor_status,
|
||||
return ret;
|
||||
}
|
||||
|
||||
OM_uint32 _gsskrb5_import_name
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_import_name
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_buffer_t input_name_buffer,
|
||||
const gss_OID input_name_type,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_import_sec_context (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_buffer_t interprocess_token,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_indicate_mechs
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_indicate_mechs
|
||||
(OM_uint32 * minor_status,
|
||||
gss_OID_set * mech_set
|
||||
)
|
||||
|
@@ -806,7 +806,7 @@ repl_mutual
|
||||
* gss_init_sec_context
|
||||
*/
|
||||
|
||||
OM_uint32 _gsskrb5_init_sec_context
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_init_sec_context
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
gss_ctx_id_t * context_handle,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_context (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_context (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
gss_name_t * src_name,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_cred
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
gss_name_t * output_name,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_cred_by_mech (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred_by_mech (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
const gss_OID mech_type,
|
||||
|
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_cred_by_oid
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_cred_by_oid
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_cred_id_t cred_handle,
|
||||
const gss_OID desired_object,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_mechs_for_name (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_mechs_for_name (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_name_t input_name,
|
||||
gss_OID_set * mech_types
|
||||
|
@@ -41,7 +41,7 @@ static gss_OID name_list[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_names_for_mech (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_names_for_mech (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_OID mechanism,
|
||||
gss_OID_set * name_types
|
||||
|
@@ -487,7 +487,7 @@ out:
|
||||
*
|
||||
*/
|
||||
|
||||
OM_uint32 _gsskrb5_inquire_sec_context_by_oid
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_inquire_sec_context_by_oid
|
||||
(OM_uint32 *minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
const gss_OID desired_object,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_pseudo_random(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int prf_key,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_process_context_token (
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_process_context_token (
|
||||
OM_uint32 *minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
const gss_buffer_t token_buffer
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_release_cred
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_release_cred
|
||||
(OM_uint32 * minor_status,
|
||||
gss_cred_id_t * cred_handle
|
||||
)
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32 _gsskrb5_release_name
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_release_name
|
||||
(OM_uint32 * minor_status,
|
||||
gss_name_t * input_name
|
||||
)
|
||||
|
@@ -225,7 +225,7 @@ no_ci_flags(OM_uint32 *minor_status,
|
||||
}
|
||||
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_set_cred_option
|
||||
(OM_uint32 *minor_status,
|
||||
gss_cred_id_t *cred_handle,
|
||||
|
@@ -98,7 +98,7 @@ set_int32(OM_uint32 *minor_status,
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_set_sec_context_option
|
||||
(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *context_handle,
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "gsskrb5_locl.h"
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_store_cred(OM_uint32 *minor_status,
|
||||
gss_cred_id_t input_cred_handle,
|
||||
gss_cred_usage_t cred_usage,
|
||||
|
@@ -379,7 +379,7 @@ unwrap_des3
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32 _gsskrb5_unwrap
|
||||
OM_uint32 GSSAPI_CALLCONV _gsskrb5_unwrap
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
const gss_buffer_t input_message_buffer,
|
||||
|
@@ -327,7 +327,7 @@ _gsskrb5_verify_mic_internal
|
||||
return ret;
|
||||
}
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_verify_mic
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
|
@@ -134,7 +134,7 @@ sub_wrap_size (
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_wrap_size_limit (
|
||||
OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
@@ -524,7 +524,8 @@ wrap_des3
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32 _gsskrb5_wrap
|
||||
OM_uint32 GSSAPI_CALLCONV
|
||||
_gsskrb5_wrap
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
|
@@ -1,19 +1,18 @@
|
||||
EXPORTS
|
||||
GSS_KRB5_MECHANISM
|
||||
GSS_NTLM_MECHANISM
|
||||
GSS_SPNEGO_MECHANISM
|
||||
GSS_SASL_DIGEST_MD5_MECHANISM
|
||||
GSS_C_NT_ANONYMOUS
|
||||
GSS_C_NT_EXPORT_NAME
|
||||
GSS_C_NT_HOSTBASED_SERVICE
|
||||
GSS_C_NT_HOSTBASED_SERVICE_X
|
||||
GSS_C_NT_MACHINE_UID_NAME
|
||||
GSS_C_NT_STRING_UID_NAME
|
||||
GSS_C_NT_USER_NAME
|
||||
GSS_KRB5_NT_PRINCIPAL_NAME
|
||||
GSS_KRB5_NT_USER_NAME
|
||||
GSS_KRB5_NT_MACHINE_UID_NAME
|
||||
GSS_KRB5_NT_STRING_UID_NAME
|
||||
__gss_krb5_mechanism_oid_desc
|
||||
__gss_ntlm_mechanism_oid_desc
|
||||
__gss_spnego_mechanism_oid_desc
|
||||
__gss_sasl_digest_md5_mechanism_oid_desc
|
||||
__gss_c_nt_anonymous_oid_desc
|
||||
__gss_c_nt_export_name_oid_desc
|
||||
__gss_c_nt_hostbased_service_oid_desc
|
||||
__gss_c_nt_hostbased_service_x_oid_desc
|
||||
__gss_c_nt_machine_uid_name_oid_desc
|
||||
__gss_c_nt_string_uid_name_oid_desc
|
||||
__gss_c_nt_user_name_oid_desc
|
||||
__gss_krb5_cred_no_ci_flags_x_oid_desc
|
||||
__gss_krb5_nt_principal_name_oid_desc
|
||||
__gss_c_attr_stream_sizes_oid_desc
|
||||
gss_accept_sec_context
|
||||
gss_acquire_cred
|
||||
gss_add_buffer_set_member
|
||||
|
36
lib/gssapi/libgssapi-version.rc
Normal file
36
lib/gssapi/libgssapi-version.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Copyright (c) 2010, Secure Endpoints Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* - Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
*
|
||||
* - Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
**********************************************************************/
|
||||
|
||||
#define RC_FILE_TYPE VFT_DLL
|
||||
#define RC_FILE_DESC_0409 "Generic Security Service Application Program Interface library"
|
||||
#define RC_FILE_ORIG_0409 "gssapi.dll"
|
||||
|
||||
#include "../../windows/version.rc"
|
@@ -141,7 +141,8 @@ choose_mech(const gss_buffer_t input, gss_OID mech_oid)
|
||||
}
|
||||
|
||||
|
||||
OM_uint32 gss_accept_sec_context(OM_uint32 *minor_status,
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_accept_sec_context(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *context_handle,
|
||||
const gss_cred_id_t acceptor_cred_handle,
|
||||
const gss_buffer_t input_token,
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_acquire_cred(OM_uint32 *minor_status,
|
||||
const gss_name_t desired_name,
|
||||
OM_uint32 time_req,
|
||||
|
@@ -70,7 +70,7 @@ _gss_copy_cred(struct _gss_mechanism_cred *mc)
|
||||
return (new_mc);
|
||||
}
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_add_cred(OM_uint32 *minor_status,
|
||||
const gss_cred_id_t input_cred_handle,
|
||||
const gss_name_t desired_name,
|
||||
|
@@ -51,7 +51,7 @@
|
||||
* @ingroup gssapi
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_add_oid_set_member (OM_uint32 * minor_status,
|
||||
const gss_OID member_oid,
|
||||
gss_OID_set * oid_set)
|
||||
|
@@ -43,7 +43,7 @@
|
||||
*/
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_wrap_iov(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
@@ -81,7 +81,7 @@ gss_wrap_iov(OM_uint32 * minor_status,
|
||||
* @ingroup gssapi
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_unwrap_iov(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int *conf_state,
|
||||
@@ -124,7 +124,7 @@ gss_unwrap_iov(OM_uint32 *minor_status,
|
||||
* @ingroup gssapi
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_wrap_iov_length(OM_uint32 * minor_status,
|
||||
gss_ctx_id_t context_handle,
|
||||
int conf_req_flag,
|
||||
@@ -162,7 +162,7 @@ gss_wrap_iov_length(OM_uint32 * minor_status,
|
||||
* @ingroup gssapi
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_release_iov_buffer(OM_uint32 *minor_status,
|
||||
gss_iov_buffer_desc *iov,
|
||||
int iov_count)
|
||||
@@ -197,7 +197,7 @@ gss_release_iov_buffer(OM_uint32 *minor_status,
|
||||
gss_OID_desc GSSAPI_LIB_FUNCTION __gss_c_attr_stream_sizes_oid_desc =
|
||||
{10, rk_UNCONST("\x2a\x86\x48\x86\xf7\x12\x01\x02\x01\x03")};
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_context_query_attributes(OM_uint32 *minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
const gss_OID attribute,
|
||||
|
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_create_empty_buffer_set
|
||||
(OM_uint32 * minor_status,
|
||||
gss_buffer_set_t *buffer_set)
|
||||
@@ -54,7 +54,7 @@ gss_create_empty_buffer_set
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_add_buffer_set_member
|
||||
(OM_uint32 * minor_status,
|
||||
const gss_buffer_t member_buffer,
|
||||
@@ -96,7 +96,7 @@ gss_add_buffer_set_member
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_release_buffer_set(OM_uint32 * minor_status,
|
||||
gss_buffer_set_t *buffer_set)
|
||||
{
|
||||
|
@@ -52,7 +52,7 @@
|
||||
* @ingroup gssapi
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_canonicalize_name(OM_uint32 *minor_status,
|
||||
const gss_name_t input_name,
|
||||
const gss_OID mech_type,
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_compare_name(OM_uint32 *minor_status,
|
||||
const gss_name_t name1_arg,
|
||||
const gss_name_t name2_arg,
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_context_time(OM_uint32 *minor_status,
|
||||
const gss_ctx_id_t context_handle,
|
||||
OM_uint32 *time_rec)
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_create_empty_oid_set(OM_uint32 *minor_status,
|
||||
gss_OID_set *oid_set)
|
||||
{
|
||||
|
@@ -42,7 +42,7 @@
|
||||
* cred-data char * (not alligned)
|
||||
*/
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_export_cred(OM_uint32 * minor_status,
|
||||
gss_cred_id_t cred_handle,
|
||||
gss_buffer_t token)
|
||||
@@ -107,7 +107,7 @@ gss_export_cred(OM_uint32 * minor_status,
|
||||
return GSS_S_COMPLETE;
|
||||
}
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_import_cred(OM_uint32 * minor_status,
|
||||
gss_buffer_t token,
|
||||
gss_cred_id_t * cred_handle)
|
||||
|
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_decapsulate_token(const gss_buffer_t input_token,
|
||||
const gss_OID oid,
|
||||
gss_buffer_t output_token)
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_delete_sec_context(OM_uint32 *minor_status,
|
||||
gss_ctx_id_t *context_handle,
|
||||
gss_buffer_t output_token)
|
||||
|
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_display_name(OM_uint32 *minor_status,
|
||||
const gss_name_t input_name,
|
||||
gss_buffer_t output_name_buffer,
|
||||
|
@@ -135,7 +135,7 @@ supplementary_error(OM_uint32 v)
|
||||
}
|
||||
|
||||
|
||||
OM_uint32 GSSAPI_LIB_FUNCTION
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_display_status(OM_uint32 *minor_status,
|
||||
OM_uint32 status_value,
|
||||
int status_type,
|
||||
|
@@ -28,7 +28,8 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 gss_duplicate_name(OM_uint32 *minor_status,
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_duplicate_name(OM_uint32 *minor_status,
|
||||
const gss_name_t src_name,
|
||||
gss_name_t *dest_name)
|
||||
{
|
||||
|
@@ -33,7 +33,8 @@
|
||||
|
||||
#include "mech_locl.h"
|
||||
|
||||
OM_uint32 gss_duplicate_oid (
|
||||
GSSAPI_LIB_FUNCTION OM_uint32 GSSAPI_LIB_CALL
|
||||
gss_duplicate_oid (
|
||||
OM_uint32 *minor_status,
|
||||
gss_OID src_oid,
|
||||
gss_OID *dest_oid
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user