]> granicus.if.org Git - apache/commit
Fix handling of extensions with types not known to OpenSSL in
authorJoe Orton <jorton@apache.org>
Wed, 19 May 2010 15:55:21 +0000 (15:55 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 19 May 2010 15:55:21 +0000 (15:55 +0000)
commitbaf08c7f66cb72c82c64e0312e8936ce76d52e9a
tree11c512d5dd08ce68a7348f9d301fd1273fa9bf80
parente588bbc955ad37e3a0e798c86b92d596ab13129b
Fix handling of extensions with types not known to OpenSSL in
PeerExtList(); parse the value as a string primitive, or else fail,
rather than rendering the raw DER blob as a string regardless of the
type:

* modules/ssl/ssl_engine_vars.c: (dump_extn_value): New function.
  (ssl_ext_list): Use it; tweak error message and free the OID object
  (thanks to drh for spotting this last issue way back).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@946240 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/ssl_engine_vars.c