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 --- 90 unchanged lines hidden (view full) --- 99 xmlIndentTreeOutput = 1; 100 #endif // XMLSEC_NO_XSLT 101 102 103 //Initialize NSPR and NSS 104 PR_Init( PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1 ) ; 105 PK11_SetPasswordFunc( PriPK11PasswordFunc ) ; 106 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 --- 90 unchanged lines hidden (view full) --- 99 xmlIndentTreeOutput = 1; 100 #endif // XMLSEC_NO_XSLT 101 102 103 //Initialize NSPR and NSS 104 PR_Init( PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1 ) ; 105 PK11_SetPasswordFunc( PriPK11PasswordFunc ) ; 106 if( NSS_Init( argv[1] ) != SECSuccess ) { |
107 fprintf( stderr , "### cannot intialize NSS!\n" ) ; | 107 fprintf( stderr , "### cannot initialize NSS!\n" ) ; |
108 goto done ; 109 } 110 111 certHandle = CERT_GetDefaultCertDB() ; 112 slot = PK11_GetInternalKeySlot() ; 113 114 //Load XML document 115 doc = xmlParseFile( argv[2] ) ; --- 152 unchanged lines hidden --- | 108 goto done ; 109 } 110 111 certHandle = CERT_GetDefaultCertDB() ; 112 slot = PK11_GetInternalKeySlot() ; 113 114 //Load XML document 115 doc = xmlParseFile( argv[2] ) ; --- 152 unchanged lines hidden --- |