undeclared identifier haMD5 (resolved)

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
andi4007
Posts: 9
Joined: Sun 26 Apr 2015 13:04

undeclared identifier haMD5 (resolved)

Post by andi4007 » Sat 17 Oct 2015 04:47

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
Last edited by andi4007 on Sun 18 Oct 2015 07:57, edited 1 time in total.

andi4007
Posts: 9
Joined: Sun 26 Apr 2015 13:04

Re: undeclared identifier haMD5

Post by andi4007 » Sun 18 Oct 2015 07:28

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

andi4007
Posts: 9
Joined: Sun 26 Apr 2015 13:04

Re: undeclared identifier haMD5

Post by andi4007 » Sun 18 Oct 2015 07:55

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

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: undeclared identifier haMD5 (resolved)

Post by ViktorV » Tue 20 Oct 2015 10:07

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.

Jean-Christophe
Posts: 5
Joined: Thu 10 Oct 2013 09:42

Re: undeclared identifier haMD5 (resolved)

Post by Jean-Christophe » Thu 27 Apr 2017 14:50

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...

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: undeclared identifier haMD5 (resolved)

Post by ViktorV » Thu 27 Jul 2017 08:39

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.

Post Reply