[openssl-users] Return type of SSL_ctrl

Salz, Rich rsalz at akamai.com
Wed Nov 30 15:37:41 UTC 2016


> We're moving up to OpenSSL 1.0.2j from OpenSSL 0.9.8<something>, and
> noticed that the SSL functions based on SSL_ctrl() changed from returning
> type int to returning type long.

The when and the why is probably lost to history.  Doing 'git log' and looking for SSL_ctrl doesn't show anything.

Oh well.

The "proper" answer is to not use long, but rather sized types, which we are slowly moving toward.
--  
Senior Architect, Akamai Technologies
Member, OpenSSL Dev Team
IM: richsalz at jabber.at Twitter: RichSalz



More information about the openssl-users mailing list