~ecryptfs/ecryptfs/trunk

Viewing all changes in revision 384.1.10.

  • Committer: Michal Hlavinka
  • Date: 2009-05-13 09:44:05 UTC
  • mto: This revision was merged to the branch mainline in revision 407.
  • Revision ID: mhlavink@redhat.com-20090513094405-p4jk4ztjg1kaf4lx
utils/ecryptfs-add-passphrase.c: fix return codes

ecryptfs-add-passphrase returned nonzero if key was already in keayring,
but key is in the keyring in the end, so return zero. When passphrase was
too long it produced error message, but returned zero.

Signed-off-by: Michal Hlavinka <mhlavink@redhat.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: