]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Modified extract_x509_field_ssl to return a status value indicating
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 19 Jul 2008 03:33:27 +0000 (03:33 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 19 Jul 2008 03:33:27 +0000 (03:33 +0000)
commit564cbab5f3119e0fa568bd3b03a1bbe3aa1466f4
tree2d54f8f6f08b4ade337865ed31661a54bda90011
parent7621883663b7948faccc610e12e017cd8f0b16df
Modified extract_x509_field_ssl to return a status value indicating
success/error, and any truncation of output due to an insufficiently
large output buffer will be cause for error.

In verify_callback, read X509 Subject Name without truncation.

In verify_callback, rather than silently truncating Common Name at
64 bytes, throw an error if Common Name is larger than 64 bytes.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3084 e7ae566f-a301-0410-adde-c780ea21d3b5
ssl.c