Good work cffi :-) I wonder if the correct thing for us to do then is to
make caller do the 2s complement overflow?


On Sun, Apr 20, 2014 at 1:14 PM, Paul Kehrer <notifications@github.com>wrote:

> In cryptography/hazmat/bindings/openssl/ssl.py:
>
> >
> > -long SSL_set_options(SSL *, long);
> > -long SSL_get_options(SSL *);
> > +unsigned long SSL_set_options(SSL *, unsigned long);
>
> Actually come to think of it it's probably just overflowing silently,
> which since it's a bitmask would be safe. The problem is that cffi
> recognizes the number will overflow and refuses to allow it to be passed.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/pyca/cryptography/pull/944/files#r11799167>
> .
>



-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084