search for: sslutil_init

Displaying 2 results from an estimated 2 matches for "sslutil_init".

2003 Oct 28
4
Failed to compile Samba with SSL
...e Compiling printing/printing.c Compiling printing/nt_printing.c Compiling smbd/noquotas.c Compiling smbd/oplock.c Compiling smbd/oplock_irix.c Compiling smbd/oplock_linux.c Compiling smbd/notify.c Compiling smbd/notify_hash.c Compiling smbd/notify_kernel.c Linking bin/smbd smbd/ssl.o: In function `sslutil_init': smbd/ssl.o(.text+0x2a5): undefined reference to `SSL_library_init' smbd/ssl.o(.text+0x2bb): undefined reference to `RAND_egd' smbd/ssl.o(.text+0x42b): undefined reference to `SSL_CTX_use_certificate_chain_file' smbd/ssl.o(.text+0x5f4): undefined reference to `SSL_CTX_set_tmp_rsa_c...
2003 Dec 01
0
No subject
...+static RSA *ssl_temp_rsa_cb(SSL *ssl, int is_export, int keylength) { static RSA *rsa = NULL; if(rsa == NULL) - rsa = RSA_generate_key(512, RSA_F4, NULL, NULL); + rsa = RSA_generate_key(keylength, RSA_F4, NULL, NULL); return rsa; } @@ -89,11 +89,19 @@ */ int sslutil_init(int isServer) { -int err; +int err, entropybytes; char *certfile, *keyfile, *ciphers, *cacertDir, *cacertFile; +char *egdsocket, *entropyfile; SSL_load_error_strings(); SSLeay_add_ssl_algorithms(); + egdsocket = lp_ssl_egdsocket(); + if (egdsocket != NULL && *...