Skip to content

Commit

Permalink
chore: re-add BigUInt, OID imports needed when building for dfx (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswanson-dfinity authored Jul 1, 2021
1 parent 8fbdafa commit 20694f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ic-agent/src/identity/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::identity::error::PemError;

use ring::signature::{Ed25519KeyPair, KeyPair};
use simple_asn1::ASN1Block::{BitString, ObjectIdentifier, Sequence};
use simple_asn1::{oid, to_der};
use simple_asn1::{oid, to_der, BigUint, OID};

/// A Basic Identity which sign using an ED25519 key pair.
pub struct BasicIdentity {
Expand Down
2 changes: 1 addition & 1 deletion ic-agent/src/identity/secp256k1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use openssl::pkey::{Private, Public};
use openssl::sha::sha256;
use simple_asn1::ASN1Block;
use simple_asn1::ASN1Block::{BitString, ObjectIdentifier, Sequence};
use simple_asn1::{oid, to_der};
use simple_asn1::{oid, to_der, BigUint, OID};

#[derive(Clone, Debug)]
pub struct Secp256k1Identity {
Expand Down
2 changes: 1 addition & 1 deletion ic-identity-hsm/src/hsm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use pkcs11::types::{
};
use pkcs11::Ctx;
use simple_asn1::ASN1Block::{BitString, ObjectIdentifier, OctetString, Sequence};
use simple_asn1::{from_der, oid, to_der, ASN1DecodeErr, ASN1EncodeErr};
use simple_asn1::{from_der, oid, to_der, ASN1DecodeErr, ASN1EncodeErr, BigUint, OID};
use std::path::Path;
use std::ptr;
use thiserror::Error;
Expand Down

0 comments on commit 20694f2

Please sign in to comment.