calculate length and allocate buffer for status. work by deraadt@ and me
calculate length and allocate buffer for status. work by deraadt@ and me

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars