some new line -> CRLF conversion may have hit.

On 06/04/2012 04:29 PM, Ken Goldman wrote:
A typical openssl user error is treating binary data as text. Random numbers are not text until you convert them with -hex.

My guess is that Windows is treating some binary character specially, and this causes your version of wc to fail. Linux is handling the binary correctly. So I doubt it's an openssl bug - just a strange interaction with binary streams, Windows, and wc.

On 6/3/2012 6:34 PM, alexis _ wrote:

I tried to generate 100 bytes using openssl rand 100 But i observed
on my Windows machine (openssl from cygwin) that sometimes the result
is not always 100 bytes long, I experienced 101, 102... However,
while using -hex switch, the variable size issue does not seem to
reproduce. Observation does not reproduce at all on Ubuntu 12.04 btw
(see version info below)

Do you guys reproduce the behavior ? Am i missing something obvious ?
is it related to my environment ? is it an openssl bug (i have not
seen anything like this on http://rt.openssl.org/index.html?q=rand)


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to