From: Luke Howard Date: Wed, 26 Aug 2009 12:47:13 +0000 (+0000) Subject: don't return EINVAL if PAC is empty X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8651012f90179b439cf28f2ca55f383f0108ae31;p=thirdparty%2Fkrb5.git don't return EINVAL if PAC is empty git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/authdata@22622 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/pac.c b/src/lib/krb5/krb/pac.c index 752c86b91a..0982ce3b30 100644 --- a/src/lib/krb5/krb/pac.c +++ b/src/lib/krb5/krb/pac.c @@ -1288,7 +1288,7 @@ mspac_export_attributes(krb5_context context, krb5_data data; if (pacctx->pac == NULL) - return EINVAL; + return 0; authdata = calloc(2, sizeof(krb5_authdata *)); if (authdata == NULL)