~mrooney/ecryptfs/nautilus-integration

« back to all changes in this revision

Viewing changes to src/libecryptfs/key_management.c

  • Committer: Dustin Kirkland
  • Date: 2009-05-01 15:04:47 UTC
  • mfrom: (392.1.1 master)
  • Revision ID: kirkland@canonical.com-20090501150447-typmxok0t858q0bf
ecryptfs_encrypted_view option desription was wrong

  [ Tyler Hicks ]
  * doc/manpage/ecryptfs.7: ecryptfs_encrypted_view option desription
    was wrong LP: #328761

Signed-off-by: Dustin Kirkland <kirkland@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * 02111-1307, USA.
19
19
 */
20
20
 
21
 
#include "config.h"
22
21
#include <errno.h>
23
22
#ifdef ENABLE_NSS
24
23
#include <nss.h>
40
39
#include <sys/types.h>
41
40
#include <sys/stat.h>
42
41
#include <pwd.h>
 
42
#include "config.h"
43
43
#include "../include/ecryptfs.h"
44
44
 
45
45
#ifndef ENOKEY
779
779
                        if (!nvp->value)
780
780
                                goto next_iteration;
781
781
                        valsize = strlen(nvp->value);
782
 
                        if (valsize != ECRYPTFS_SALT_SIZE_HEX)
 
782
                        if (valsize != ECRYPTFS_SALT_SIZE_HEX);
783
783
                                goto next_iteration;
784
784
                        memcpy(salt_hex, nvp->value, ECRYPTFS_SALT_SIZE_HEX);
785
785
                        goto out_free;