mirror of
https://github.com/openssl/openssl.git
synced 2024-11-29 04:55:11 +08:00
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:
parent
8d697db1d0
commit
a06c602e6f
4
CHANGES
4
CHANGES
@ -5,6 +5,10 @@
|
||||
|
||||
Changes between 0.9.1c and 0.9.2
|
||||
|
||||
*) Remove confusing variables in function signatures in files
|
||||
ssl/ssl_lib.c and ssl/ssl.h.
|
||||
[Lennart Bong <lob@kulthea.stacken.kth.se>]
|
||||
|
||||
*) Don't install bss_file.c under PREFIX/include/
|
||||
[Lennart Bong <lob@kulthea.stacken.kth.se>]
|
||||
|
||||
|
@ -841,7 +841,7 @@ BIO * SSL_get_wbio(SSL *s);
|
||||
int SSL_set_cipher_list(SSL *s, char *str);
|
||||
void SSL_set_read_ahead(SSL *s, int yes);
|
||||
int SSL_get_verify_mode(SSL *s);
|
||||
int (*SSL_get_verify_callback(SSL *s))(int ok,X509_STORE_CTX *ctx);
|
||||
int (*SSL_get_verify_callback(SSL *s))(int,X509_STORE_CTX *);
|
||||
void SSL_set_verify(SSL *s, int mode,
|
||||
int (*callback)(int ok,X509_STORE_CTX *ctx));
|
||||
int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
|
||||
@ -898,7 +898,7 @@ X509 * SSL_get_peer_certificate(SSL *s);
|
||||
STACK * SSL_get_peer_cert_chain(SSL *s);
|
||||
|
||||
int SSL_CTX_get_verify_mode(SSL_CTX *ctx);
|
||||
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 *);
|
||||
void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,
|
||||
int (*callback)(int, X509_STORE_CTX *));
|
||||
void SSL_CTX_set_cert_verify_cb(SSL_CTX *ctx, int (*cb)(),char *arg);
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user