]> git.ipfire.org Git - thirdparty/krb5.git/commit
Stop shadowing id-pkcs7-data OID
authorGreg Hudson <ghudson@mit.edu>
Mon, 24 Mar 2014 22:26:50 +0000 (18:26 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 25 Mar 2014 21:52:59 +0000 (17:52 -0400)
commit8ee1790ba6e3468d7ed53ed46123dc9545a4216f
tree085319fe3b3eb2f70f38deec80363c075b64743e
parent26ac013fbc3eb1abc4e7b692854f8d09baec5780
Stop shadowing id-pkcs7-data OID

pkinit_crypto_openssl.c currently creates a shadow entry for
id-pkcs7-data so that OpenSSL will expect to see the corresponding
octet string in d.other instead than d.data.  This shadowing is very
unfriendly to other uses of OpenSSL and we should stop.  Eliminate the
shadowing and rewrite create_contentinfo so that it sets up the PKCS7
object correctly if the OID is id-pkcs7-data.

ticket: 7889
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
src/plugins/preauth/pkinit/pkinit_crypto_openssl.h