[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles
bugtracker at ...3416...
bugtracker at ...3416...
Tue Aug 30 15:57:04 CEST 2016
http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4-
Comment #18 by Tobias BOEGE:
I remember vaguely to be surprised too when I switched my openssl version some time ago and the test suddenly failed like above. They probably changed some default in the openssl utility? When I run the line you mentioned (with "dgst" instead of "sha1"), I get this:
$ echo -n abc | openssl dgst -hmac key -binary | base64
nBluMtwBdfhvSxy4konWYZ3mvuaZ5MN45oMJ7Zehpqs=
But gb.openssl's HMac() function uses SHA1 as the default and should always yield
T9CyFSdu8S8rPkyOysKBFJi2Vvw=
>but this patch, solves the problem
Did you have the same problem?
More information about the User
mailing list