ber_get_integer
if (ber_get_integer(root, &v) == -1) {
if (ber_get_integer(ber, i) == -1)
int ber_get_integer(struct ber_element *, long long *);