Remove confusing variables in function signatures in files

ssl/ssl_lib.c and ssl/ssl.h. At least the double ctx-variable
confused some compilers.

Submitted by: Lennart Bong <lob@kulthea.stacken.kth.se>
Reviewed by: Ralf S. Engelschall
This commit is contained in:
Ralf S. Engelschall
1999-03-04 07:54:01 +00:00
parent 8d697db1d0
commit a06c602e6f
3 changed files with 8 additions and 4 deletions

View File

@@ -392,7 +392,7 @@ int SSL_get_verify_mode(SSL *s)
return(s->verify_mode);
}
int (*SSL_get_verify_callback(SSL *s))(int ok,X509_STORE_CTX *ctx)
int (*SSL_get_verify_callback(SSL *s))(int,X509_STORE_CTX *)
{
return(s->verify_callback);
}
@@ -402,7 +402,7 @@ int SSL_CTX_get_verify_mode(SSL_CTX *ctx)
return(ctx->verify_mode);
}
int (*SSL_CTX_get_verify_callback(SSL_CTX *ctx))(int ok,X509_STORE_CTX *ctx)
int (*SSL_CTX_get_verify_callback(SSL_CTX *ctx))(int,X509_STORE_CTX *)
{
return(ctx->default_verify_callback);
}