FreeBSD compiler errors out on an error "zero or negative size array"
authorEzra Peisach <epeisach@mit.edu>
Tue, 13 Jan 2009 19:43:18 +0000 (19:43 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 13 Jan 2009 19:43:18 +0000 (19:43 +0000)
commit774ad4ae871e70c2e8d683c695029f535c8b1dba
tree0c4adc09df87e38d7f7949fcf8de4a93603a78c1
parentfba6b5b33483e112a3e43726e56ab769ab1bbce3
FreeBSD compiler errors out on an error "zero or negative size array"
after setting up an array with no elements.

ifdef out array declarations and code that uses it until there are entries.

Affects: krb5_gss_inquire_cred_by_oid_ops and
krb5_gss_set_sec_context_option_ops which would return an error in any
case as here are no entries in the arrays.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21740 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/gssapi_krb5.c