Page 1 of 1

undeclared identifier haMD5 (resolved)

Posted: Sat 17 Oct 2015 04:47
by andi4007
Hi,

I just installed the new SecureBridge 6.6.9 Standard with Delphi XE8 I'm trying to compile my program which was compiling fine with the previous version 6.6.8.

First it complained about the unit ScSSHUtils missing. When I checked the file ScSSHUtils.dcu is present in the lib-directory for Win32. Now after restarting Delphi XE8 it is complaining about the identifier haMD5 being undeclared. I'm using it to obtain a fingerprint.

What am I doing wrong here?

Andreas

Re: undeclared identifier haMD5

Posted: Sun 18 Oct 2015 07:28
by andi4007
I digged in a bit further.

In version 6.5.8 haMD5 was defined in ScSSHUtil. However in 6.6.9 the unit ScSSHUtil doesn't exist any more. Now there is a unit ScSSHUtils (note the s at the end). However it seems that in that unit the type definition for TScHashAlgorithm doesn't exist anymore.

Please devart, fix this so I can display the fingerprint value of the key.

Andreas

Re: undeclared identifier haMD5

Posted: Sun 18 Oct 2015 07:55
by andi4007
I finally got it

I had to include the unit ScUtils to get the GetFingerprint method working again. I couldn't find that information in any documentation. I found it out by looking at the demo application. I think that would be a candidate for your readme.html and please update your help files, there is no mentioning of the unit ScUtils in there. In your helpfiles the unit ScSSHUtil is the place where the type definition of TScHashAlgorithm is specified.

Andreas

Re: undeclared identifier haMD5 (resolved)

Posted: Tue 20 Oct 2015 10:07
by ViktorV
Yes, you are right. In SecureBridge 6.6.9 we have moved a part of code from the ScSSHUtil module to the ScUtils module, and now haMD5 is declared in the ScUtils unit. We will update the SecureBridge help.

Re: undeclared identifier haMD5 (resolved)

Posted: Thu 27 Apr 2017 14:50
by Jean-Christophe
The documentation is still referencing ScSSHUtil.

Thanks to @andi4007 that asked that question I could move on, but it's a real pain to discover how the components can be of any use if the help is misleading, it's worst than if it didn't exist...

Re: undeclared identifier haMD5 (resolved)

Posted: Thu 27 Jul 2017 08:39
by ViktorV
We have updated the information in SecureBridge help.
Thank you for the interest in our products.
Please contact us if you have any questions about our products.