File bug-860332-cmdline-check-certs.patch of Package compat-openssl098.503
Index: openssl-0.9.8j/apps/s_client.c
===================================================================
--- openssl-0.9.8j.orig/apps/s_client.c
+++ openssl-0.9.8j/apps/s_client.c
@@ -303,7 +303,7 @@ int MAIN(int argc, char **argv)
char *passarg = NULL, *pass = NULL;
X509 *cert = NULL;
EVP_PKEY *key = NULL;
- char *CApath=NULL,*CAfile=NULL,*cipher=NULL;
+ char *CApath="/etc/ssl/certs",*CAfile=NULL,*cipher=NULL;
int reconnect=0,badop=0,verify=SSL_VERIFY_NONE,bugs=0;
int crlf=0;
int write_tty,read_tty,write_ssl,read_ssl,tty_on,ssl_pending;