[openssl-users] sha256 digest support in v102l build missing; present in v110f. missing build flag?

PGNet Dev pgnet.dev at gmail.com
Tue May 30 16:21:36 UTC 2017


On 5/30/17 9:01 AM, Jakob Bohm wrote:
> Actually, in my testing of earlier 1.0.x releases, sha256 etc. are
> only missing from the help message, they are actually there, also as
> commands.

On 5/30/17 9:14 AM, Salz, Rich wrote:
 >> Then I've misunderstood the presence of the "-DSHA256_ASM" flag.
 >>
 >> What's it specifically used for?
 >
 > To remind me to double-check my answers? :(
 >
 > Sorry, they are present.  The difference is that the help message in 
1.0.2 isn't complete.  Did you try the commands directly?

Well,

	touch /tmp/test.txt
	/usr/local/openssl10/bin/openssl dgst -sha256 /tmp/test.txt
		SHA256(/tmp/test.txt)= 
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

	/usr/local/openssl11/bin/openssl dgst -sha256 /tmp/test.txt
		SHA256(/tmp/test.txt)= 
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

NOW I have!

See? THAT'S what you get when you waste time RTFM-ing! ;-)

Thanks.


More information about the openssl-users mailing list