Porting/Migrating code from OpenSSL 0.x/OpenSSL 1.0 to OpenSSL 1.1

Most of the code build atop OpenSSL 0.9.x or OpenSSL 1.0.x needs significant modification to be compiled against OpenSSL 1.1 due to API changes and structures being opaque. This document is an attempt to aid such transition.

Note: The examples below omits error checks. For production code, check return of the function and bail accordingly.

Copycat of this page without credit is also available, if you prefer more eyecandy.

$Id: migrate2openssl-1.1.html,v 1.2 2021-10-22 21:15:54+09 kabe Exp $


Direct struct member access to accessor functions

API semantical changes


kabe.sra-tohoku.co.jp