verifier.cxx (06b3ce53) verifier.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

--- 93 unchanged lines hidden (view full) ---

102 xmlIndentTreeOutput = 1;
103 #endif // XMLSEC_NO_XSLT
104
105
106 //Initialize NSPR and NSS
107 PR_Init( PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1 ) ;
108 PK11_SetPasswordFunc( PriPK11PasswordFunc ) ;
109 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

--- 93 unchanged lines hidden (view full) ---

102 xmlIndentTreeOutput = 1;
103 #endif // XMLSEC_NO_XSLT
104
105
106 //Initialize NSPR and NSS
107 PR_Init( PR_SYSTEM_THREAD, PR_PRIORITY_NORMAL, 1 ) ;
108 PK11_SetPasswordFunc( PriPK11PasswordFunc ) ;
109 if( NSS_Init( argv[1] ) != SECSuccess ) {
110 fprintf( stderr , "### cannot intialize NSS!\n" ) ;
110 fprintf( stderr , "### cannot initialize NSS!\n" ) ;
111 return 1 ;
112 }
113
114 certHandle = CERT_GetDefaultCertDB() ;
115 slot = PK11_GetInternalKeySlot() ;
116
117 //Load XML document
118 doc = xmlParseFile( argv[2] ) ;

--- 218 unchanged lines hidden ---
111 return 1 ;
112 }
113
114 certHandle = CERT_GetDefaultCertDB() ;
115 slot = PK11_GetInternalKeySlot() ;
116
117 //Load XML document
118 doc = xmlParseFile( argv[2] ) ;

--- 218 unchanged lines hidden ---