Subject: tohexstr() unit test helper overflow buffer MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Disposition: inline Content-Transfer-Encoding: binary X-RT-Original-Encoding: utf-8 Content-Length: 335 tohexstr() documentation says the target buffer size should be at least len / 2 + 1 when it is len * 2 + 1. This makes the GOST unit test to fail on my OS X configured with native PKCS#11 (and of course for an unrelated reason :-). Fix is obvious and should be done in all versions as this function definition occurs more than once...