projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hopefully resolve signed vs unsigned issue.
[oweals/openssl.git]
/
ssl
/
ssltest.c
diff --git
a/ssl/ssltest.c
b/ssl/ssltest.c
index 83a571d69bbc952ed45d6befe95d4a58c04816cd..9ef43dfa88fb48561200dbbf4d20003ec535f59d 100644
(file)
--- a/
ssl/ssltest.c
+++ b/
ssl/ssltest.c
@@
-317,7
+317,7
@@
static void sv_usage(void)
static void print_details(SSL *c_ssl, const char *prefix)
{
static void print_details(SSL *c_ssl, const char *prefix)
{
- SSL_CIPHER *ciph;
+
const
SSL_CIPHER *ciph;
X509 *cert;
ciph=SSL_get_current_cipher(c_ssl);
X509 *cert;
ciph=SSL_get_current_cipher(c_ssl);
@@
-1014,7
+1014,7
@@
end:
#endif
CRYPTO_cleanup_all_ex_data();
ERR_free_strings();
#endif
CRYPTO_cleanup_all_ex_data();
ERR_free_strings();
- ERR_remove_
state(0
);
+ ERR_remove_
thread_state(NULL
);
EVP_cleanup();
CRYPTO_mem_leaks(bio_err);
if (bio_err != NULL) BIO_free(bio_err);
EVP_cleanup();
CRYPTO_mem_leaks(bio_err);
if (bio_err != NULL) BIO_free(bio_err);
@@
-2177,7
+2177,7
@@
static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg)
if (cb_arg->proxy_auth)
{
if (cb_arg->proxy_auth)
{
- if (ok)
+ if (ok
> 0
)
{
const char *cond_end = NULL;
{
const char *cond_end = NULL;
@@
-2408,7
+2408,7
@@
static int do_test_cipherlist(void)
{
int i = 0;
const SSL_METHOD *meth;
{
int i = 0;
const SSL_METHOD *meth;
- SSL_CIPHER *ci, *tci = NULL;
+
const
SSL_CIPHER *ci, *tci = NULL;
#ifndef OPENSSL_NO_SSL2
fprintf(stderr, "testing SSLv2 cipher list order: ");
#ifndef OPENSSL_NO_SSL2
fprintf(stderr, "testing SSLv2 cipher list order: ");