Skip to content

Conversation

@DanGould
Copy link

Could also be used to set tumbler's address, etc

if(system() == "Darwin"):
path = "/usr/local/opt/libressl/lib/libssl.dylib"
try:
config.LIBRESSL_PATH

Choose a reason for hiding this comment

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

python noob here but why not path = config.LIBRESSL_PATH and removing the else at the end ?

Copy link
Author

Choose a reason for hiding this comment

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

I believe if config.LIBRESSL_PATH isn't set i.e. commented out in the config it will throw a NameError, that was my thinking

Choose a reason for hiding this comment

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

but path = config.LIBRESSL_PATH should as well right?

Copy link
Author

Choose a reason for hiding this comment

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

Oh, I see what you're saying. set the path in the try statement instead of in else madness
`

Copy link
Collaborator

Choose a reason for hiding this comment

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

You should include this change in your updated pull request.

Copy link
Collaborator

@leen-she leen-she left a comment

Choose a reason for hiding this comment

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

Sorry, just saw this. Like your idea, it should work for now. Will merge after you update your pull request and make sure it doesn't conflict with master.

@@ -0,0 +1,3 @@
LIBRESSL_PATH = "/usr/local/lib/libssl.so"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should be commented out. The user should uncomment and change to the correct path if the default paths don't work. Will mention this in the README.

if(system() == "Darwin"):
path = "/usr/local/opt/libressl/lib/libssl.dylib"
try:
config.LIBRESSL_PATH
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should include this change in your updated pull request.

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.

3 participants