get_req_flags
static OM_uint32 get_req_flags(unsigned char **, OM_uint32, OM_uint32 *);
err = get_req_flags(&ptr, REMAIN, req_flags);