On Thu, Jul 09, 2015, Richard Welty wrote:

> 
> how does one set a content type for a signed CMS object?
> i am creating it with a call to CMS_sign (with flag CMS_PARTIAL
> set among others), then when i call CMS_set1_eContentType
> it crashes.
> 

That should work because that's what the cms utility does. Are you checking
that the return value from CMS_sign() is not NULL? What arguments are you
passing to CMS_set1_eContentType()?

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to