The two echo commands are different values (being different actual echo
programs) and hence have different digests.

As a user:

macbuild:~ tjh$ echo -n "12345" | od -x 0000000 3231 3433 0035 0000005

As root:

echo -n "12345" | od -x 0000000 6e2d 3120 3332 3534 000a 0000011

The root echo is one that does not support the -n option:

macbuild:~ root# echo -n "12345" -n 12345

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to