Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't add begin, end certificate to document that already have them #48

Merged
merged 2 commits into from
Jun 25, 2014

Conversation

dnbard
Copy link
Contributor

@dnbard dnbard commented Jun 24, 2014

Passport-SAML successfully consuming certificates that already formatted. But it adds extra "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----" to it, so certificate becomes invalid.
This pull request fixes it.

@ploer
Copy link
Contributor

ploer commented Jun 24, 2014

Thanks -- can you add a test for this behavior?

@dnbard
Copy link
Contributor Author

dnbard commented Jun 24, 2014

I created the test for this case, but I think I've missed the right describe block.. :-(

ploer added a commit that referenced this pull request Jun 25, 2014
don't add begin, end certificate to document that already have them
@ploer ploer merged commit efea7ed into node-saml:master Jun 25, 2014
ploer added a commit that referenced this pull request Jun 25, 2014
@ploer
Copy link
Contributor

ploer commented Jun 25, 2014

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants