Gregor Bethlen wrote:
Thank you. Was there a certain reason, why this was ($max < 16)?> This sound a bit strange. I would understand ($max < 10), since
everything true would be one-digit (at least at positive numbers). But 16?
First we only know that there was a leading zero if there was only one digit. The digits are hexadecimal so $max should be smaller than 16. At this time we add the line which we now removed.
Some times later we learn that there is always an even number of digits. At this moment we introduce the new line which add always a zero if there is an odd number of digits but we forget to remove the old line.
Anyway, is this problem (serialnumber must be even) a bug in openssl? Or is it done with intention?
It is no bug. Two hexadecimal digits can represent one byte. Therefore this representation was choosen. This is more safe and easier to verify than other calculations.
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Openca-Users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-users
