Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/openssl/lib_crypto.cr
Original file line number Diff line number Diff line change
@@ -237,7 +237,7 @@ lib LibCrypto
fun x509v3_ext_print = X509V3_EXT_print(out : Bio*, ext : X509_EXTENSION, flag : Int, indent : Int) : Int
end

{% if `(pkg-config --atleast-version=1.0.2 libcrypto && echo -n true) || echo -n false` == "true" %}
{% if `(pkg-config --atleast-version=1.0.2 libcrypto && printf %s true) || printf %s false` == "true" %}
lib LibCrypto
OPENSSL_102 = true
end
2 changes: 1 addition & 1 deletion src/openssl/lib_ssl.cr
Original file line number Diff line number Diff line change
@@ -166,7 +166,7 @@ lib LibSSL
fun ssl_ctx_set_cert_verify_callback = SSL_CTX_set_cert_verify_callback(ctx : SSLContext, callback : CertVerifyCallback, arg : Void*)
end

{% if `(pkg-config --atleast-version=1.0.2 libssl && echo -n true) || echo -n false` == "true" %}
{% if `(pkg-config --atleast-version=1.0.2 libssl && printf %s true) || printf %s false` == "true" %}
lib LibSSL
OPENSSL_102 = true
end

3 comments on commit ecac3b3

@asterite
Copy link
Member

Choose a reason for hiding this comment

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

Should we back-port it to the 0.18 branch?

I know I said I wasn't planning on continuing that branch, but I think we should release a 0.18.3 with a fix for #2869 (and other possible fixes/features)

@jhass
Copy link
Member Author

@jhass jhass commented on ecac3b3 Jun 18, 2016

Choose a reason for hiding this comment

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

Yes, right. I would've committed it there if I saw that comment before.

@asterite
Copy link
Member

Choose a reason for hiding this comment

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

@jhass No worries :-)

I'm thinking I'll probably add TypeNode#< and TypeNode#<= in macros so we can do the Box trick, I'll send a PR later :-)

Please sign in to comment.