cred: Check for null values when getting key from memory
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.
Showing
Please
register
or
sign in
to comment