In message <[EMAIL PROTECTED]> on Mon, 20 Jun 2005 12:11:30 +0200, Beat Jucker <[EMAIL PROTECTED]> said:
bj> Given attached BASE64 encoded file openssl will write only 5280 bj> decoded bytes instead of the original 5305 bytes as other tools bj> like mimencode, base64, Asn1Editor, web online base64 decoder, ... bj> bj> openssl base64 -d -in text.pem -out text.der bj> --> 5280 instead of 5305 bytes!? I've played with previous incarnations, and noticed that with the latest update for 0.9.7-stable, I get 5305 bytes, while I get 5280 bytes with 0.9.8-stable. I compared crypto/evp/bio_b64.c from both branches, and there is virtually no difference, so the problem is somewhere else. I noticed something unusual about your file: the lines are 76 characters, when a PEM file usually (or at least by default when output by OpenSSL) has 64 character lines... I have no clue how important that fact is, but I'm going to conduct some tests. Cheers, Richard ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
