Fix calculation of length of encoding in ssl.c. Fix encoding to check proper length in asn.c. Fix tests to check for correct value (api.c).
Fix calculation of length of encoding in ssl.c. Fix encoding to check proper length in asn.c. Fix tests to check for correct value (api.c).