[UTC][fido-client][ACR-446][Fix bug checking Feature Not Supported]
authorjkjo92 <jkjo92@samsung.com>
Wed, 8 Feb 2017 10:59:47 +0000 (19:59 +0900)
committerjkjo92 <jkjo92@samsung.com>
Thu, 9 Feb 2017 10:01:54 +0000 (19:01 +0900)
Change-Id: Ib4a09a9118ea0fd733040f3002fe21ca58464ec8
Signed-off-by: jkjo92 <jkjo92@samsung.com>
src/utc/fido-client/utc-fido-client.c

index 21d097b70f6c29362e253270372d562d58538e9c..9cfda91da7d18d5eb0d3528955c171814520b21a 100755 (executable)
@@ -611,16 +611,9 @@ int utc_fido_client_authenticator_get_attachment_hint_n(void)
  */
 int utc_fido_client_authenticator_get_is_second_factor_only_p(void)
 {
-       int ret = FIDO_ERROR_NONE;
-       bool ret_value = false;
-
-       ret_value = fido_authenticator_get_is_second_factor_only(NULL);
-       if(!g_feature) {
-               assert_eq(ret, FIDO_ERROR_NOT_SUPPORTED);
-               return 0;
-       }
 
-       assert_eq(ret_value, false);
+       bool ret = fido_authenticator_get_is_second_factor_only(NULL);
+       assert_eq(ret, false);
 
        return 0;
 }