diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-03-12 02:59:37 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-03-12 02:59:37 +0000 |
commit | 0b4c91c0fcabd68dfd227e359ed471b5f6c27737 (patch) | |
tree | 3c1f91438c95fe67a7eaef9bdfaec9d19298257c /ssl/s3_srvr.c | |
parent | b9b43196e127545daaf55d49d81d32ab7c18b3f2 (diff) |
Fix various warnings when compiling with KRB5 code.
Diffstat (limited to 'ssl/s3_srvr.c')
-rw-r--r-- | ssl/s3_srvr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index cc2a773a3c..b0c587172b 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1561,17 +1561,17 @@ static int ssl3_get_client_key_exchange(SSL *s) n2s(p,i); enc_ticket.length = i; - enc_ticket.data = p; + enc_ticket.data = (char *)p; p+=enc_ticket.length; n2s(p,i); authenticator.length = i; - authenticator.data = p; + authenticator.data = (char *)p; p+=authenticator.length; n2s(p,i); enc_pms.length = i; - enc_pms.data = p; + enc_pms.data = (char *)p; p+=enc_pms.length; if ((unsigned long)n != enc_ticket.length + authenticator.length + @@ -1636,7 +1636,7 @@ static int ssl3_get_client_key_exchange(SSL *s) goto err; } if (!EVP_DecryptUpdate(&ciph_ctx, pms,&outl, - enc_pms.data, enc_pms.length)) + (unsigned char *)enc_pms.data, enc_pms.length)) { SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE, SSL_R_DECRYPTION_FAILED); |