diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-05 23:11:51 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-05 23:11:51 +0000 |
commit | c44f75404776af0d046ae05258b055389fb5686a (patch) | |
tree | 318512bb5900375a9176096644caaf3fa9f7a1a3 /ssl/ssl_locl.h | |
parent | 023f77002f89262c1939c6100e757b92e68fb12a (diff) |
Slight code cleanup for handling finished labels.
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 0bfd57db32..e1ac715d16 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -330,10 +330,10 @@ typedef struct ssl3_enc_method int (*final_finish_mac)(); int finish_mac_length; int (*cert_verify_mac)(); - unsigned char client_finished[20]; - int client_finished_len; - unsigned char server_finished[20]; - int server_finished_len; + const char *client_finished_label; + int client_finished_label_len; + const char *server_finished_label; + int server_finished_label_len; int (*alert_value)(); } SSL3_ENC_METHOD; @@ -433,7 +433,7 @@ int ssl3_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p, int len); int ssl3_get_req_cert_type(SSL *s,unsigned char *p); long ssl3_get_message(SSL *s, int st1, int stn, int mt, long max, int *ok); -int ssl3_send_finished(SSL *s, int a, int b, unsigned char *sender,int slen); +int ssl3_send_finished(SSL *s, int a, int b, const char *sender,int slen); int ssl3_num_ciphers(void); SSL_CIPHER *ssl3_get_cipher(unsigned int u); int ssl3_renegotiate(SSL *ssl); |