ssh.c
18.2 KB
-
cred: Check for null values when getting key from memory · 2629fc87
The public key field is optional and as such can take NULL. Account for that and do not call strlen() on NULL values. Also assert() for non-NULL values of username & private key.
Michał Górny committed