Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gssapi/raw/creds.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ cdef class Creds:
self.raw_creds = NULL


def acquire_cred(Name name, lifetime=None, mechs=None, usage='both'):
def acquire_cred(Name name=None, lifetime=None, mechs=None, usage='both'):
"""
Get GSSAPI credentials for the given name and mechanisms.
Expand Down
4 changes: 1 addition & 3 deletions gssapi/raw/ext_cred_store.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ cdef void c_free_key_value_set(gss_key_value_set_desc *kvset):
free(kvset)


# TODO(directxman12): some of these probably need a "not null",
# but that's not clear from the wiki page
def acquire_cred_from(dict store, Name name, lifetime=None,
def acquire_cred_from(dict store=None, Name name=None, lifetime=None,
mechs=None, usage='both'):
"""Acquire credentials from the given store

Expand Down
2 changes: 1 addition & 1 deletion gssapi/raw/names.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def display_name(Name name not None, name_type=True):
raise GSSError(maj_stat, min_stat)


def compare_name(Name name1, Name name2):
def compare_name(Name name1=None, Name name2=None):
"""
Check two GSSAPI names to see if they are the same.

Expand Down