libcurl-7.19.2-fix-ssl-no-verbose.patch 691 B

12345678910111213141516171819202122232425
  1. ssluse.c: fix build breakage with --with-ssl --disable-verbose
  2. Revision 1.206 of ssluse.c removed the prefix argument to asn1_output,
  3. but it is still referenced in the CURL_DISABLE_VERBOSE_STRINGS case.
  4. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  5. ---
  6. lib/ssluse.c | 4 ----
  7. 1 file changed, 4 deletions(-)
  8. Index: curl-7.19.2/lib/ssluse.c
  9. ===================================================================
  10. --- curl-7.19.2.orig/lib/ssluse.c
  11. +++ curl-7.19.2/lib/ssluse.c
  12. @@ -923,10 +923,6 @@
  13. int i;
  14. int year=0,month=0,day=0,hour=0,minute=0,second=0;
  15. -#ifdef CURL_DISABLE_VERBOSE_STRINGS
  16. - (void)prefix;
  17. -#endif
  18. -
  19. i=tm->length;
  20. asn1_string=(const char *)tm->data;