Re: Exit Codes

Peter Gutmann <[email protected]> Fri, 13 Jul 2012 15:51:43 +1200
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
"Wong, Alexander C" <[email protected]> writes:

>What's the best way to implement this shim?  It appears that Cryptlib handles
>all required network I/O and processes the messages at and below the SSH
>channel level.  Does Cryptlib expose an interface for sending arbitrary
>SSH_MSG_CHANNEL_REQUEST messages?

No.  There's a whole array of rarely-used, somewhat random SSH messages for
which it's not really possible to provide an interface for (unless someone can
come up with a general-purpose API that doesn't involve adding fifty new
attributes and attribute types and parameters), so you'd have to add this
yourself.  The place to put it would be something like shutdownFunction() in
session/ssh2.c.

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.