Fix encoding error in ECC groups using OID method. Reported by and
patch from fxdupont on github.