Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationin nsSDR.cpp

2009-10-26 Thread Robert Relyea
On 10/24/2009 12:34 AM, Marc Kaeser wrote: > Thx a lot, > > But what if I just want to "hardcode" the use of another token, > without any ability to choose the one sdr should use? My first idea > was to replace slot = GetInternalModule() by slot = > GetSlotByName(const char * name); because they're

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationin nsSDR.cpp

2009-10-24 Thread Marc Kaeser
Thx a lot, But what if I just want to "hardcode" the use of another token, without any ability to choose the one sdr should use? My first idea was to replace slot = GetInternalModule() by slot = GetSlotByName(const char * name); because they're declared to be of the same type/struct. The first