> With Cryptlib I get this same error 10091 (but instead of > "Network subsystem is unusable" I see some squares (some > charset problem). I debug into and problem is in function: > > TSSLCryptLib.Connect > > In line: > if not SSLCheck(cryptSetAttribute(FCryptSession, > CRYPT_SESSINFO_ACTIVE, 1)) then > Exit; > > SSLCheck return False, because cryptSetAttribute return -22 > (and in SSLCheck is error check if Value<>0 then error). I > can't debug further because cryptSetAttribute is external function >
Are you getting more information in SSL.LastErrorDesc? You can trace into SSLCheck and verify the value at the end. Without more info, the primary suspect is that there is something wrong with the SSH authorization (wrong credentials, key mismatch,...). > I am using latest stable synapse 39 and cryptlib 3.2.2 from > synapse serwer. I tried with synapse snapshot but this same > error, so I downloaded cryptlib 3.4.1 and ssl_cryptlib.pas > (from synapse) is incompatible with cryptlib.pas (from > crytplib). I can't compile it (Incompatible types Char and > AnsiChar in function cryptKeysetOpen. I have Delphi 2010 32bit. > Unfortunately, cryptlib versions aren't binary compatible and every cryptlib release has to use new pascal bindings. AFAIK the pascal bindings from cryptlib are generated by a script and sometimes some "fiddling" is required to get it working with a particular Delphi version, or Freepascal in my case. I've been using ssh with cryptlib 3.2.2 succesfully, so the cryptlib version isn't my first suspect here. Ludo ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public