Fix PKINIT cert matching data construction accepted/tizen/unified/20171221.103208 submit/tizen/20171220.141726 submit/tizen_4.0/20171220.141712
authorGreg Hudson <ghudson@mit.edu>
Tue, 17 Oct 2017 22:50:15 +0000 (18:50 -0400)
committerDariusz Michaluk <d.michaluk@samsung.com>
Wed, 20 Dec 2017 12:49:02 +0000 (13:49 +0100)
commit73328451e64bacb0f4d05ae97ebd5e1b17fd2c14
treecb568de3cede6f99302e3610ac4c70ca2ec2e8d5
parent4bc04ac3241545d1832350607b1c090d57d417e4
Fix PKINIT cert matching data construction

Rewrite X509_NAME_oneline_ex() and its call sites to use dynamic
allocation and to perform proper error checking.

(cherry picked from commit fbb687db1088ddd894d975996e5f6a4252b9a2b4)

ticket: 8617
version_fixed: 1.15.3

Change-Id: Iab7fb849d223e5e2f295bd3917bf8b72bf16a455
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c