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?



------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to