Commit c81dab15 authored by Lev Walkin's avatar Lev Walkin

proper shift

parent b1a15559
......@@ -326,7 +326,7 @@ asn_GT2time_frac(const GeneralizedTime_t *st, int *frac_value, int *frac_digits,
#undef B2T
#define B2F(var) do { \
unsigned ch = *buf; \
if(ch < 0x30 && ch > 0x39) { \
if(ch < 0x30 || ch > 0x39) { \
errno = EINVAL; \
return -1; \
} else { \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment