From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d0aaf84cab2873ae,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-06-19 23:35:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!134.222.94.5!npeer.kpnqwest.net!EUnet.yu!Mercury.ev.co.yu!not-for-mail From: "Nikola Milutinovic" Newsgroups: comp.unix.tru64 Subject: Samba 2.2.0 and OpenSSL 9.6.0 problem Date: Wed, 20 Jun 2001 07:32:32 +0200 Organization: EPS Elektrovojvodina Message-ID: <9gpckv$vu6$1@Mercury.ev.co.yu> NNTP-Posting-Host: brigitte.ev.co.yu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.unix.tru64:2574 Hi all. I'm trying to compile Samba 2.2.0 and I have enabled SSL, with OpenSSL 9.6.0a. I have disregarded several warnings about use of "&" in front of an array name, which is a common occurence. The warning that made me feel uneasy was: Compiling smbd/ssl.c cc: Warning: smbd/ssl.c, line 160: In this statement, the referenced type of the pointer value "ssl_temp_rsa_cb" is "function (pointer to struct ssl_st, int) returning pointer to struct rsa_st", which is not compatible with "function (pointer to struct ssl_st, int, int) returning pointer to struct rsa_st". (ptrmismatch) SSL_CTX_set_tmp_rsa_callback(sslContext, ssl_temp_rsa_cb); ---------------------------------------------^ The way I see it, this is bad. Should someone call this function via this pointer, there will be stack error, since there is one parametere missing, or one will be over the line. Any comments? I believe I can compile Samba without SSL, what functionality will I loose? Nix.