[kronosnet/kronosnet] aa9fc7: Some error checking for OpenSSL functions