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:49 +0000 (18:41 +0100)
commitf7c4fe519b6df370e267dbb2e92cec0da06a9ece
tree17fb6fc39fe82e05309ad33a2b96fd660896127f
parent92c2c6e88ca36acd21bd3ecd311470100c297e4b
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