summaryrefslogtreecommitdiff
path: root/vio/viosslfactories.c
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-05-04 10:30:08 +0200
committerunknown <msvensson@neptunus.(none)>2006-05-04 10:30:08 +0200
commit3651240e362f8b8697e356fd6b90bf561289e300 (patch)
tree658bb332acd2bb832860832bea4de8f33d78621a /vio/viosslfactories.c
parent9aa5fa1df10ece5eb6fda08e2d056d8d937cb8f7 (diff)
downloadmariadb-git-3651240e362f8b8697e356fd6b90bf561289e300.tar.gz
Fix warnings
vio/viossl.c: Remove warnings about unused variables vio/viosslfactories.c: Remove warning about wrong cast
Diffstat (limited to 'vio/viosslfactories.c')
-rw-r--r--vio/viosslfactories.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c
index f1d2b077367..058a19dfa0c 100644
--- a/vio/viosslfactories.c
+++ b/vio/viosslfactories.c
@@ -339,7 +339,7 @@ new_VioSSLAcceptorFd(const char *key_file, const char *cert_file,
Use the ssl_fd pointer
*/
SSL_CTX_set_session_id_context(ssl_fd->ssl_context,
- ssl_fd,
+ (const unsigned char *)ssl_fd,
sizeof(ssl_fd));
return ssl_fd;