SSL_get_finished determine length

Samuel Williams space.ship.traveller at
Thu Feb 6 09:51:59 UTC 2020

Is it valid to call:

size_t size = SSL_get_finished(ssl, NULL, 0);

So we can determine the length?

Because SSL_get_finished invokes memcpy even if the size is 0, so is the
undefined behaviour?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the openssl-users mailing list