Commit 2629fc874da258d76a63a99566a5ba457c9d5d30

Michał Górny 2015-05-24T22:33:55

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.