From: Scott Cantor Date: Fri, 27 Apr 2007 02:47:43 +0000 (+0000) Subject: Add licenses, remove dependency on OpenSSL. X-Git-Tag: 2.0-alpha1~39 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=a016796a2c83b74174dcd5d554cd62306373795f Add licenses, remove dependency on OpenSSL. --- diff --git a/.gitignore b/.gitignore index 15ded4b..97af174 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,4 @@ /pkginfo /stamp-h1 /.settings +/doxyfile 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 @@ />