decrypter.cxx (06b3ce53) | decrypter.cxx (509df7cb) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 91 unchanged lines hidden (view full) --- 100 xmlIndentTreeOutput = 1; 101 #endif // XMLSEC_NO_XSLT 102 103 104 //Initialize NSPR and NSS 105 PR_Init( PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1 ) ; 106 PK11_SetPasswordFunc( PriPK11PasswordFunc ) ; 107 if( NSS_Init( argv[1] ) != SECSuccess ) { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 91 unchanged lines hidden (view full) --- 100 xmlIndentTreeOutput = 1; 101 #endif // XMLSEC_NO_XSLT 102 103 104 //Initialize NSPR and NSS 105 PR_Init( PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1 ) ; 106 PK11_SetPasswordFunc( PriPK11PasswordFunc ) ; 107 if( NSS_Init( argv[1] ) != SECSuccess ) { |
108 fprintf( stderr , "### cannot intialize NSS!\n" ) ; | 108 fprintf( stderr , "### cannot initialize NSS!\n" ) ; |
109 goto done ; 110 } 111 112 certHandle = CERT_GetDefaultCertDB() ; 113 slot = PK11_GetInternalKeySlot() ; 114 115 //Load XML document 116 doc = xmlParseFile( argv[2] ) ; --- 152 unchanged lines hidden --- | 109 goto done ; 110 } 111 112 certHandle = CERT_GetDefaultCertDB() ; 113 slot = PK11_GetInternalKeySlot() ; 114 115 //Load XML document 116 doc = xmlParseFile( argv[2] ) ; --- 152 unchanged lines hidden --- |