729 |
|
|
730 |
switch (fm_cmd) { |
switch (fm_cmd) { |
731 |
case FM_ENCRYPT: |
case FM_ENCRYPT: |
|
case FM_ENCRYPT_DIR: |
|
732 |
case FM_SIGNENCRYPT: |
case FM_SIGNENCRYPT: |
733 |
if (strcmp (status, "ENCRYPTED") |
if (strcmp (status, "ENCRYPTED") |
734 |
&& strcmp (status, "SYMKEYENC")) |
&& strcmp (status, "SYMKEYENC")) |
791 |
|
|
792 |
switch (fm_cmd) { |
switch (fm_cmd) { |
793 |
case FM_ENCRYPT: |
case FM_ENCRYPT: |
|
case FM_ENCRYPT_DIR: |
|
794 |
case FM_SIGNENCRYPT: |
case FM_SIGNENCRYPT: |
795 |
strcpy (status, "ENCRYPTED"); |
strcpy (status, "ENCRYPTED"); |
796 |
break; |
break; |
907 |
} |
} |
908 |
|
|
909 |
/* Commands we need before we can perform the main command */ |
/* Commands we need before we can perform the main command */ |
910 |
switch (fm_cmd) { |
switch (fm_cmd) { |
|
case FM_ENCRYPT_ZIP: |
|
911 |
case FM_ENCRYPT: |
case FM_ENCRYPT: |
912 |
case FM_SIGNENCRYPT: |
case FM_SIGNENCRYPT: |
913 |
if (fm_cmd == FM_SIGNENCRYPT) |
if (fm_cmd == FM_SIGNENCRYPT) |
951 |
log_box (_("File Manager"), MB_ERR, |
log_box (_("File Manager"), MB_ERR, |
952 |
_("\"%s\" does not exist"), fname); |
_("\"%s\" does not exist"), fname); |
953 |
continue; |
continue; |
954 |
} |
} |
|
if (is_directory (fname)) |
|
|
fm_cmd = FM_ENCRYPT_DIR; |
|
955 |
if (!fm_check_file_type (lv, i, fm_cmd)) |
if (!fm_check_file_type (lv, i, fm_cmd)) |
956 |
continue; |
continue; |
957 |
sig_detached = fm_check_detached_sig (lv, i); |
sig_detached = fm_check_detached_sig (lv, i); |