You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2003/06/23 12:00:54 UTC

cvs commit: xml-security/c/src/tools/checksig InteropResolver.hpp InteropResolver.cpp

blautenb    2003/06/23 03:00:54

  Modified:    c/src/tools/checksig InteropResolver.hpp InteropResolver.cpp
  Log:
  Allow for full decoupling from OpenSSL
  
  Revision  Changes    Path
  1.3       +4 -3      xml-security/c/src/tools/checksig/InteropResolver.hpp
  
  Index: InteropResolver.hpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/tools/checksig/InteropResolver.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InteropResolver.hpp	18 May 2003 12:01:13 -0000	1.2
  +++ InteropResolver.hpp	23 Jun 2003 10:00:54 -0000	1.3
  @@ -80,7 +80,8 @@
   #    include <glob.h>
   #endif
   
  -#include <openssl/x509.h>
  +#if defined (HAVE_OPENSSL)
  +#	include <openssl/x509.h>
   
   class InteropResolver : public XSECKeyInfoResolver {
   
  @@ -115,4 +116,4 @@
   
   };
   
  -
  +#endif /* HAVE_OPENSSL */
  
  
  
  1.4       +5 -1      xml-security/c/src/tools/checksig/InteropResolver.cpp
  
  Index: InteropResolver.cpp
  ===================================================================
  RCS file: /home/cvs/xml-security/c/src/tools/checksig/InteropResolver.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- InteropResolver.cpp	22 May 2003 11:16:55 -0000	1.3
  +++ InteropResolver.cpp	23 Jun 2003 10:00:54 -0000	1.4
  @@ -89,6 +89,8 @@
   
   #include <iostream>
   
  +#if defined (HAVE_OPENSSL) 
  +
   InteropResolver::InteropResolver(const XMLCh * baseURI) {
   
   	if (baseURI != NULL)
  @@ -689,3 +691,5 @@
   }
   
   
  +
  +#endif /* HAVE_OPENSSL */