OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
7 #endif /* DEBUG */ | |
8 | |
9 #include "pkcs11.h" | 5 #include "pkcs11.h" |
10 | 6 |
11 #ifndef DEVM_H | 7 #ifndef DEVM_H |
12 #include "devm.h" | 8 #include "devm.h" |
13 #endif /* DEVM_H */ | 9 #endif /* DEVM_H */ |
14 | 10 |
15 #ifndef CKHELPER_H | 11 #ifndef CKHELPER_H |
16 #include "ckhelper.h" | 12 #include "ckhelper.h" |
17 #endif /* CKHELPER_H */ | 13 #endif /* CKHELPER_H */ |
18 | 14 |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 key_template, | 579 key_template, |
584 key_size); | 580 key_size); |
585 | 581 |
586 if (createdSession) { | 582 if (createdSession) { |
587 nssSession_Destroy(session); | 583 nssSession_Destroy(session); |
588 } | 584 } |
589 | 585 |
590 return (ckrv == CKR_OK) ? PR_SUCCESS : PR_FAILURE; | 586 return (ckrv == CKR_OK) ? PR_SUCCESS : PR_FAILURE; |
591 } | 587 } |
592 | 588 |
OLD | NEW |