summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/libssh/common/packet.c
diff options
context:
space:
mode:
authorJan Pechanec <Jan.Pechanec@Sun.COM>2008-09-29 01:34:40 -0700
committerJan Pechanec <Jan.Pechanec@Sun.COM>2008-09-29 01:34:40 -0700
commit23b4d00c19075d9d50f296d4437a3f48579b483d (patch)
treeb61d9280e9cc70d22fc8e312a7254f475437bc03 /usr/src/cmd/ssh/libssh/common/packet.c
parent73e32a377b571c409fcab2227ee156fd52de7e03 (diff)
downloadillumos-joyent-23b4d00c19075d9d50f296d4437a3f48579b483d.tar.gz
6751377 SunSSH with UseOpenSSLEngine=yes should not fatal() when the PKCS#11 engine is not found
Diffstat (limited to 'usr/src/cmd/ssh/libssh/common/packet.c')
-rw-r--r--usr/src/cmd/ssh/libssh/common/packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/cmd/ssh/libssh/common/packet.c b/usr/src/cmd/ssh/libssh/common/packet.c
index 59a33a1a98..cab965f84a 100644
--- a/usr/src/cmd/ssh/libssh/common/packet.c
+++ b/usr/src/cmd/ssh/libssh/common/packet.c
@@ -692,6 +692,7 @@ free_keys(Newkeys *keys)
void
process_newkeys(int mode)
{
+ /* this function is for the client only */
if (packet_is_server() != 0)
return;