Constify d2i, s2i, c2i and r2i functions and other associated
[openssl.git] / ssl / ssl_locl.h
index 4adf5f5b1c3c5cc81f578a1e28800a2a514c5020..c2e6ff8cf7c8a33487adc51af2415013079b9a3c 100644 (file)
@@ -544,7 +544,7 @@ SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p);
 int ssl2_put_cipher_by_char(const SSL_CIPHER *c,unsigned char *p);
 int ssl2_part_read(SSL *s, unsigned long f, int i);
 int ssl2_do_write(SSL *s);
-int ssl2_set_certificate(SSL *s, int type, int len, unsigned char *data);
+int ssl2_set_certificate(SSL *s, int type, int len, const unsigned char *data);
 void ssl2_return_error(SSL *s,int reason);
 void ssl2_write_error(SSL *s);
 int ssl2_num_ciphers(void);