310-polarssl-disable-runtime-version-check.patch 403 B

1234567891011
  1. --- a/lib/vtls/polarssl.c
  2. +++ b/lib/vtls/polarssl.c
  3. @@ -591,7 +591,7 @@ void Curl_polarssl_session_free(void *pt
  4. size_t Curl_polarssl_version(char *buffer, size_t size)
  5. {
  6. - unsigned int version = version_get_number();
  7. + unsigned int version = POLARSSL_VERSION_NUMBER;
  8. return snprintf(buffer, size, "PolarSSL/%d.%d.%d", version>>24,
  9. (version>>16)&0xff, (version>>8)&0xff);
  10. }