diff options
| author | Greg Hudson <ghudson@mit.edu> | 2013-02-05 12:43:53 -0500 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2013-02-07 12:54:55 -0500 |
| commit | ad29a3655543091d59182e6696b78b1055152adb (patch) | |
| tree | 04c51d58f30a91dfe384e2b6b3eb7fa57a9fdbee /src | |
| parent | 62d0f78c3b420eba1812d232c03ea25a59d5ce64 (diff) | |
| download | krb5-ad29a3655543091d59182e6696b78b1055152adb.tar.gz krb5-ad29a3655543091d59182e6696b78b1055152adb.tar.xz krb5-ad29a3655543091d59182e6696b78b1055152adb.zip | |
Desupport krb5_auth_con_setivector
ticket: 7565 (new)
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb5/krb/auth_con.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/auth_con.c b/src/lib/krb5/krb/auth_con.c index 54a579fa9..986d4396d 100644 --- a/src/lib/krb5/krb/auth_con.c +++ b/src/lib/krb5/krb/auth_con.c @@ -334,8 +334,12 @@ krb5_auth_con_initivector(krb5_context context, krb5_auth_context auth_context) krb5_error_code krb5_auth_con_setivector(krb5_context context, krb5_auth_context auth_context, krb5_pointer ivector) { - auth_context->i_vector = ivector; - return 0; + /* + * This function was part of the pre-1.2.2 API. Because it aliased the + * caller's memory into auth_context, and doesn't provide the size of the + * cipher state, it's inconvenient to support now, so return an error. + */ + return EINVAL; } krb5_error_code |
