diff options
author | Bodo Möller <bodo@openssl.org> | 2000-01-06 00:24:24 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2000-01-06 00:24:24 +0000 |
commit | f2d9a32cf47ed8c4e4d025a2258154f3dbe5eca6 (patch) | |
tree | 9417d6b1d982541c77d3ad1b581e7a869e7ab530 /ssl/s3_enc.c | |
parent | 245206eadd7e1a686ee9695341c166190fbc2c7c (diff) |
Use separate arrays for certificate verify and for finished hashes.
Diffstat (limited to 'ssl/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index 1ce1c161ec..4caf70878d 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -79,7 +79,7 @@ static unsigned char ssl3_pad_2[48]={ 0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c,0x5c }; static int ssl3_handshake_mac(SSL *s, EVP_MD_CTX *in_ctx, - unsigned char *sender, int len, unsigned char *p); + const char *sender, int len, unsigned char *p); static void ssl3_generate_key_block(SSL *s, unsigned char *km, int num) { @@ -423,7 +423,7 @@ int ssl3_final_finish_mac(SSL *s, EVP_MD_CTX *ctx1, EVP_MD_CTX *ctx2, } static int ssl3_handshake_mac(SSL *s, EVP_MD_CTX *in_ctx, - unsigned char *sender, int len, unsigned char *p) + const char *sender, int len, unsigned char *p) { unsigned int ret; int npad,n; |