lib/tpm/t_public.rb in tpm-key_attestation-0.5.0 vs lib/tpm/t_public.rb in tpm-key_attestation-0.6.0
- old
+ new
@@ -35,10 +35,10 @@
sized_buffer TPM::ALG_ECC
sized_buffer TPM::ALG_RSA
end
def key
- if parameters.symmetric == ::TPM::ALG_NULL
+ if parameters.symmetric == TPM::ALG_NULL
case alg_type
when TPM::ALG_ECC
ecc_key
when TPM::ALG_RSA
rsa_key