From: cantor Date: Fri, 27 Apr 2007 02:47:43 +0000 (+0000) Subject: Add licenses, remove dependency on OpenSSL. X-Git-Tag: 2.4.1~380 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=e5493aace679f303b6f49b4a786c45f722977b2d Add licenses, remove dependency on OpenSSL. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@234 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/Makefile.am b/Makefile.am index 5cb4979..1031c79 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,6 +35,10 @@ all-local: opensaml.spec pkginfo if DX_COND_doc all-local: doxygen-doc + +install-data-hook: + rm -rf $(prefix)/doc/@PACKAGE@/api + cp -r doc/api $(prefix)/doc/@PACKAGE@ endif opensaml.spec: opensaml.spec.in Makefile diff --git a/saml/SAMLConfig.cpp b/saml/SAMLConfig.cpp index a03b172..570ba1a 100644 --- a/saml/SAMLConfig.cpp +++ b/saml/SAMLConfig.cpp @@ -45,7 +45,6 @@ #include #include #include -#include using namespace opensaml; using namespace xmlsignature; @@ -216,22 +215,6 @@ string SAMLInternalConfig::hashSHA1(const char* s, bool toHex) throw XMLSecurityException("Unable to generate SHA-1 hash."); } -void opensaml::log_openssl() -{ - const char* file; - const char* data; - int flags,line; - - unsigned long code=ERR_get_error_line_data(&file,&line,&data,&flags); - while (code) { - Category& log=Category::getInstance("OpenSSL"); - log.errorStream() << "error code: " << code << " in " << file << ", line " << line << CategoryStream::ENDLINE; - if (data && (flags & ERR_TXT_STRING)) - log.errorStream() << "error data: " << data << CategoryStream::ENDLINE; - code=ERR_get_error_line_data(&file,&line,&data,&flags); - } -} - using namespace saml2md; void opensaml::annotateException(XMLToolingException* e, const EntityDescriptor* entity, bool rethrow) diff --git a/saml/internal.h b/saml/internal.h index 3999273..e4d5bcc 100644 --- a/saml/internal.h +++ b/saml/internal.h @@ -100,8 +100,6 @@ namespace opensaml { std::string hashSHA1(const char* data, bool toHex=false); private: }; - - void log_openssl(); /// @endcond }; diff --git a/saml/saml.vcproj b/saml/saml.vcproj index 9c0f39e..0069ba2 100644 --- a/saml/saml.vcproj +++ b/saml/saml.vcproj @@ -61,7 +61,7 @@ />