Skip to content

Commit fdf5631

Browse files
author
lev
committed
Credential APIs, client/server side component tests, APSARA.IO
- Added the missing credential APIs - Added APSARA.IO component test - Reorganized the component test framework to ease adding new server- and client-specific tests - Added Krb5Config and Krb5Ktname to gssapi.Options, avoiding conflicts is up to the caller. - Added multilevel log control in gssapi.Options
1 parent 4a2fa3a commit fdf5631

27 files changed

+529
-228
lines changed

buffer_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
func TestNewBuffer(t *testing.T) {
11-
l, err := LoadLib(nil)
11+
l, err := testLoad()
1212
if err != nil {
1313
t.Error(err)
1414
return
@@ -38,7 +38,7 @@ func TestNewBuffer(t *testing.T) {
3838

3939
// Also tests MakeBufferBytes, implicitly
4040
func TestMakeBufferString(t *testing.T) {
41-
l, err := LoadLib(nil)
41+
l, err := testLoad()
4242
if err != nil {
4343
t.Error(err)
4444
return

component_test/client/main_test.go

-58
This file was deleted.

component_test/docker/service/entrypoint.sh

-18
This file was deleted.

component_test/service/main.go

-64
This file was deleted.

context.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ func (lib *Lib) AcceptSecContext(
242242

243243
err = lib.MakeError(maj, min).GoError()
244244
if err != nil {
245-
lib.Print("AcceptSecContext: ", err)
245+
lib.Err("AcceptSecContext: ", err)
246246
return nil, nil, nil, nil, 0, 0, nil, err
247247
}
248248

0 commit comments

Comments
 (0)