@@ -448,7 +448,7 @@ fn split_recipients_withhelds_for_user_based_on_identity(
448
448
allowed_devices : Vec :: default ( ) ,
449
449
denied_devices_with_code : user_devices
450
450
. into_values ( )
451
- . map ( |d| ( d, WithheldCode :: Unauthorised ) )
451
+ . map ( |d| ( d, WithheldCode :: Unverified ) )
452
452
. collect ( ) ,
453
453
}
454
454
}
@@ -461,7 +461,7 @@ fn split_recipients_withhelds_for_user_based_on_identity(
461
461
if d. is_cross_signed_by_owner ( device_owner_identity) {
462
462
Either :: Left ( d)
463
463
} else {
464
- Either :: Right ( ( d, WithheldCode :: Unauthorised ) )
464
+ Either :: Right ( ( d, WithheldCode :: Unverified ) )
465
465
}
466
466
} ) ;
467
467
IdentityBasedRecipientDevices {
@@ -1138,7 +1138,7 @@ mod tests {
1138
1138
. find ( |( d, _) | d. device_id ( ) == KeyDistributionTestData :: dan_unsigned_device_id ( ) )
1139
1139
. expect ( "This dan's device should receive a withheld code" ) ;
1140
1140
1141
- assert_eq ! ( code, & WithheldCode :: Unauthorised ) ;
1141
+ assert_eq ! ( code, & WithheldCode :: Unverified ) ;
1142
1142
1143
1143
// Check withhelds for others
1144
1144
let ( _, code) = share_result
@@ -1147,7 +1147,7 @@ mod tests {
1147
1147
. find ( |( d, _) | d. device_id ( ) == KeyDistributionTestData :: dave_device_id ( ) )
1148
1148
. expect ( "This dave device should receive a withheld code" ) ;
1149
1149
1150
- assert_eq ! ( code, & WithheldCode :: Unauthorised ) ;
1150
+ assert_eq ! ( code, & WithheldCode :: Unverified ) ;
1151
1151
}
1152
1152
1153
1153
/// Test key sharing with the identity-based strategy with different
0 commit comments