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:51 +0000 (18:41 +0100)
commitd6e55b400142d3232819163cdc77b9df8561ffb6
tree366d3be52099f640963cf363326f04ea88a2ead7
parentf710c3f198c9980a1056bac9b4b9617554254671
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