Constify security callbacks
Reviewed-by: Viktor Dukhovni <viktor@openssl.org> MR: #1595
This commit is contained in:
		@@ -1990,10 +1990,10 @@ int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
 | 
			
		||||
void SSL_set_security_level(SSL *s, int level);
 | 
			
		||||
__owur int SSL_get_security_level(const SSL *s);
 | 
			
		||||
void SSL_set_security_callback(SSL *s,
 | 
			
		||||
                               int (*cb) (SSL *s, SSL_CTX *ctx, int op,
 | 
			
		||||
                               int (*cb) (const SSL *s, const SSL_CTX *ctx, int op,
 | 
			
		||||
                                          int bits, int nid, void *other,
 | 
			
		||||
                                          void *ex));
 | 
			
		||||
int (*SSL_get_security_callback(const SSL *s)) (SSL *s, SSL_CTX *ctx, int op,
 | 
			
		||||
int (*SSL_get_security_callback(const SSL *s)) (const SSL *s, const SSL_CTX *ctx, int op,
 | 
			
		||||
                                                int bits, int nid,
 | 
			
		||||
                                                void *other, void *ex);
 | 
			
		||||
void SSL_set0_security_ex_data(SSL *s, void *ex);
 | 
			
		||||
@@ -2002,11 +2002,11 @@ __owur void *SSL_get0_security_ex_data(const SSL *s);
 | 
			
		||||
void SSL_CTX_set_security_level(SSL_CTX *ctx, int level);
 | 
			
		||||
__owur int SSL_CTX_get_security_level(const SSL_CTX *ctx);
 | 
			
		||||
void SSL_CTX_set_security_callback(SSL_CTX *ctx,
 | 
			
		||||
                                   int (*cb) (SSL *s, SSL_CTX *ctx, int op,
 | 
			
		||||
                                   int (*cb) (const SSL *s, const SSL_CTX *ctx, int op,
 | 
			
		||||
                                              int bits, int nid, void *other,
 | 
			
		||||
                                              void *ex));
 | 
			
		||||
int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (SSL *s,
 | 
			
		||||
                                                          SSL_CTX *ctx,
 | 
			
		||||
int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s,
 | 
			
		||||
                                                          const SSL_CTX *ctx,
 | 
			
		||||
                                                          int op, int bits,
 | 
			
		||||
                                                          int nid,
 | 
			
		||||
                                                          void *other,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user