[openssl-users] File signing/encrypting upgrade from 1.0.2 to 1.1.0

Matt Caswell matt at openssl.org
Fri Mar 23 21:14:30 UTC 2018


Your minimal working example only does the encrypt side. Please could
you show the decrypt side too that demonstrates the error.

Matt


On 23/03/18 18:25, Jan Kohnert wrote:
> Hi again,
> 
> Am Fri, 23 Mar 2018 18:03:17 +0100
> schrieb Jan Kohnert <nospam001-lists at jan-kohnert.de>:
> 
>> I'm using the openssl-libs for signing/encrypting files in PKCS#7 
>> format. When trying to upgrade from 1.0.2 to 1.1.0 the code stops 
>> working properly: Files are generated, but the formating is broken.
>> When trying to decrypt the generated files, I get:
>>
>> Error in encoding
>> 6252:error:0D07209B:asn1 encoding routines:ASN1_get_object:too 
>> long:crypto\asn1\asn1_lib.c:91:
> 
> I just compiled the code on Linux (with the small changes to let it
> compile and link), and it works for 1.1.0g, so it seems to be a
> Windows-specific problem (I can reproduce that in 32 and 64bit Win).
> Bug?
> 
> Best regards, Jan
> 


More information about the openssl-users mailing list