diff options
| author | Theodore Tso <tytso@mit.edu> | 1991-02-21 11:41:54 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1991-02-21 11:41:54 +0000 |
| commit | 2cb1ffe588a1c65a875f73e584f5c10dc58c5270 (patch) | |
| tree | fbb048fc86ee3259f920287bf5bdac730902afa8 /src/lib | |
| parent | 38d8cfe21cae4d61804b3c5acb4a048a4f813679 (diff) | |
Changes to conform with API modifications
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1750 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/krb5/keytab/read_servi.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/lib/krb5/keytab/read_servi.c b/src/lib/krb5/keytab/read_servi.c index 7a39bc8bd..67758b436 100644 --- a/src/lib/krb5/keytab/read_servi.c +++ b/src/lib/krb5/keytab/read_servi.c @@ -23,7 +23,6 @@ static char rcsid_krb5_kt_read_service_key_c[] = #include <krb5/ext-proto.h> -/* XXX Things that I need and don't know where to get yet */ #define KSUCCESS 0 krb5_error_code @@ -74,16 +73,7 @@ OLDDECLARG(krb5_keyblock **, key) if (kerror) return(kerror); - /* - * This routine takes a krb5_keyblock **. Should it? I assume this - * means that it is supposed allocate the key and return it... - * XXX - */ - - if (!(*key = (krb5_keyblock *)malloc(sizeof(krb5_keyblock)))) - return (ENOMEM); /* XXX */ - - krb5_copy_keyblock(&entry.key, *key); + krb5_copy_keyblock(&entry.key, key); krb5_kt_free_entry(&entry); |
