File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ impl Session {
410
410
/// let slot = pkcs11.get_slots_with_token().unwrap().remove(0);
411
411
///
412
412
/// let session = pkcs11.open_ro_session(slot).unwrap();
413
- /// session.login(UserType::User, Some(&AuthPin::new("fedcba ".into())));
413
+ /// session.login(UserType::User, Some(&AuthPin::new("fedcba123456 ".into())));
414
414
///
415
415
/// let empty_attrib= vec![];
416
416
/// if let Some(object) = session.find_objects(&empty_attrib).unwrap().first() {
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ use cryptoki::types::AuthPin;
7
7
use std:: env;
8
8
9
9
// The default user pin
10
- pub static USER_PIN : & str = "fedcba " ;
10
+ pub static USER_PIN : & str = "fedcba123456 " ;
11
11
// The default SO pin
12
- pub static SO_PIN : & str = "abcdef " ;
12
+ pub static SO_PIN : & str = "abcdef654321 " ;
13
13
14
14
fn get_pkcs11_path ( ) -> String {
15
15
env:: var ( "TEST_PKCS11_MODULE" )
You can’t perform that action at this time.
0 commit comments