Replace manual ASN1 decoder with ASN1_get_object
authorSerguei E. Leontiev <leo@sai.msu.ru>
Sun, 11 May 2014 18:46:42 +0000 (19:46 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 12 May 2014 17:41:50 +0000 (18:41 +0100)
commit2223317bef26cdd4403c4aed14eee6a7ab676335
tree9afb5ff3940711119abb4f43058ce9374e5feb62
parentb107586c0c3447ea22dba8698ebbcd81bb29d48c
Replace manual ASN1 decoder with ASN1_get_object

Replace manual ASN.1 decoder with ASN1_get object. This
will decode the tag and length properly and check against
it does not exceed the supplied buffer length.

PR#3335
(cherry picked from commit b0308dddd1cc6a8e1de803ef29ba6da25ee072c2)
ssl/s3_srvr.c