SSL_COMP

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SSL_COMP

Michal Trojnara-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Guys,

Any idea how to properly use:
STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
STACK_OF(SSL_COMP) *SSL_COMP_set0_compression_methods(STACK_OF(SSL_COMP)
                                                      *meths);
in the latest OpenSSL 1.1 git, which no longer declares SSL_COMP?

I guess openssl/ssl.h should be modified to include:
typedef struct ssl_comp_st SSL_COMP;
DEFINE_STACK_OF(SSL_COMP)

Best regards,
        Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWlMHlAAoJEC78f/DUFuAU3JMQAMtCTOp6fK45IPWwJf+wQ89M
J6Le/KtsVN1IHqnubJF8OUcAxJCMRf0u75irRukuhil8SQ5SgVmham8IhD2oeQ2F
EAbLAZC1GRBBD5q2E+1XcXGB520PKiSjHjz0cEAr7GmLkzUggw1d1/cDKsjiKpnx
CMdCCQ1cTZ/tWt4m2dHnqh4lDpjnKN8AhTsMo8NZjqf3w4gZPtQbUhoIDhR18OUt
xiiaDtKXlYUu+aGtI5lLC2FoU1cFJ8t5ovynsfzB5lLaB5kKKxx7JbjyhtbW1Nxa
UCjzkgJCrpFkeWKx38ddWpf9gCjPMUJ+1rirlukuVs5mitqf8jsiqOIk8qW+E0KJ
ANlWfMNRkk/vLqw4tO9TfPn3WUzmuGbFt3TFUrF8Wj8AtgGYatHdB88m2UzQqdz/
mMaCYZq6B60BnMsHFTKoqdpYRVyTaAde/kAYTBp5CcXbYN/hWx63EtYgtxxtl++2
ts06xj3xze6cy9L9Q4d1qsPf8GtBRiQgkwU7qFjvI4ZE1P5YdJDejNOjOpO7yP8x
S+oFjX0DiaxHFEkoo2GTMj4dBMTBmZ58h7BTZY6PH72JibH1juDe/WWTwSUqWYzJ
zrRkDqiU8cVxonEvVTrppK/jd5gCYmF0b1jlaBZrvrPCEBOCRpYGxI7AIdInk5tv
YeMSmqRugknjQ88AQYxT
=BCDL
-----END PGP SIGNATURE-----
_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: SSL_COMP

Viktor Dukhovni

> typedef struct ssl_comp_st SSL_COMP;

Yes, that needs to be visible.  Thanks.

Patch below:

openssl base64 -d <<EOF | gunzip -c > ssl_comp.diff
H4sIANFMlVYAA42SwW7iMBCG736KkfYCZJ3QNEArLkU0FLQUEM5hb1awHWIpJFFs
tKyqffe1SygtpFUjRbZn/vnl8XxcJglgvJUaYk/mLNtz4RWlyJXKPPO7KWya40jm
XBxg09/EvfuN6woWxJwFcNPt9oMAYYw/c0SO43zq+vAA+Nbv/bwDxy43XTAR/bcU
XCSgdLVnGoySMlmmoqJKAyFzOp6tpuF6iJqUSigli/wkJSEhs+XiWqszRZXcxtlW
WW00J5TMnkbzJ9Lsy4o8oUwf3u6wXEzoOPo9RE6jeleelc8r44ngMZzMFiEl0Wj8
iy4n1oJErXNDbeRcSFqn+rat9zpA1tEKyqrQgmnTpd0mMhMKkqKCvRLwR+oUdCrs
gapKlyAO2ry4FbfWkzH0Bv2g3fGuezRaenamtbNt4gXx99zU06NZwY7AfAzUpMTB
fZfxW9dlvu/HA/6RlIuSIyIXQctG/85A0QPndfWb4KjK01Re7Bv9AJGb25ot/tZY
MGrKGyv7yVyD5MPjwQBgMiyNK+jk8U7UYWtDn8NounyEzk7otLAF/+zA8RfTrFPz
6YhMT6ma1fYrLOg/L07Oi6wDAAA=
EOF

--
        Viktor.



_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: SSL_COMP

Viktor Dukhovni
In reply to this post by Michal Trojnara-3

> On Jan 12, 2016, at 4:05 AM, Michal Trojnara <[hidden email]> wrote:
>
> Any idea how to properly use:
> STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
> STACK_OF(SSL_COMP) *SSL_COMP_set0_compression_methods(STACK_OF(SSL_COMP)
>                                                      *meths);
> in the latest OpenSSL 1.1 git, which no longer declares SSL_COMP?
>
> I guess openssl/ssl.h should be modified to include:
> typedef struct ssl_comp_st SSL_COMP;
> DEFINE_STACK_OF(SSL_COMP)

Try a more recent git commit.  This should be fixed now.

--
        Viktor.



_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|

Re: SSL_COMP

Michal Trojnara-3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 12.01.2016 20:18, Viktor Dukhovni wrote:
>> On Jan 12, 2016, at 4:05 AM, Michal Trojnara
>> <[hidden email]> wrote: I guess openssl/ssl.h should
>> be modified to include: typedef struct ssl_comp_st SSL_COMP;
>> DEFINE_STACK_OF(SSL_COMP)
>
> Try a more recent git commit.  This should be fixed now.

It works.  Thank you.

Best regards,
        Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJWlVdRAAoJEC78f/DUFuAUbfIQAMrWPpm37y3/qajjOmvN+ZX4
uke0FFWyMY94DrsSFcL6GjdLa6T1/LvuyDELVn+lujPlMMGq8zApSyQ5Qnsz3Vbq
oosKVga1jpCgJasx8aas4kk6faiggNrk+THjIC5GZtMlqLN/o/cC5SDQgYKQ0UBA
PZRaywTbS37Sdu8gldu0mL46SqGhwyeUV/dNeAvKiB1Bimb4HZMYM3cqs6dabBfr
pw7ymJIa99rSKx4DureWZ+vIrtHyfFm34QT9JB0A+3qqj8m0B8DG71ljsUSbAu7p
YIz1QJ3Aj1qOqWC76JEVtw/754/YKOnWFtapt1A09C9Cxo3DxFFHEwhmiJYHjPu/
0WZbnw91PU9KjEqJ+f6ELxyTT315WjxT2pypgDKw/E1EIetQoaOGukMW1UnTTVJY
UKSsotkNoDT5mrFcfW355KorvXmguKcd3rKT+6gC6zW0CO1pGmCunyp9hSm7K5l1
+pb1cRNDGYIn6jDPJuqCameTFsYx2YGYYGK41k6Bu9kyF8xzWnys26U+aIs4Ib6k
IXToIjDF52gVGS1UQYrz08QsVV3XnI47Q/+FIOlY9oOEMHISQvytIJp7kVaUNZ1Z
0g6g7xEQgn53LMai45htTkzR4Sv15rQDYvXr6IU9KmiCKWUhVmJVa1hTaVAeO8ZX
6i+qE6WzyHUC8qLnuoaL
=4EYu
-----END PGP SIGNATURE-----
_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users