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 check signature if key is empty (closes #138) #139

Merged
merged 2 commits into from
May 22, 2015

Conversation

willwhitney
Copy link
Contributor

No description provided.

stopifnot(identical(signature, expected_signature))
if (!identical(connection_info$key, "")) {
signature <- rawToChar(parts[[i + 1]])
expected_signature <- sign_msg(parts[(i + 2):(i + 5)])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like signature and expected_signature are defined twice here.

@willwhitney
Copy link
Contributor Author

Whoops, fixed it.

@takluyver
Copy link
Member

Looks good, thanks

takluyver added a commit that referenced this pull request May 22, 2015
don't check signature if key is empty (closes #138)
@takluyver takluyver merged commit 4ea63ac into IRkernel:master May 22, 2015
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.

None yet

3 participants