Skip to content

Commit

Permalink
This commit marks the release point of version 4.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogomchungu committed Jan 29, 2021
1 parent c562396 commit 7e3eea0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zuluCrypt-cli/bin/add_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,11 @@ int zuluCryptEXEAddKey( const struct_opts * opts,uid_t uid )

len3 = StringLength( *slots ) ;

if( len3 > 0 && ( size_t )slot_number < len3 ){
if( slot_number == - 1 ){

status = zuluCryptAddKey_0( device,key1,len1,key2,len2,slot_number ) ;

}else if( len3 > 0 && ( size_t )slot_number < len3 ){

if( StringContent( *slots )[ slot_number ] == '0' ){

Expand Down

0 comments on commit 7e3eea0

Please sign in to comment.