Hello At work here I have a PC which was loaded with OpenBSD 4.3 I have updated it to OpenBSD 4.4
After having installed it I downloaded from OpenBSD's ftp the files sys.tar.gz and src.tar.gz which i did tar zxpf in /usr/src I then downloaded the latest 4.4.tar.gz patch file and applied every patch. Everything went fine except the 004 patch. I was having this error when doing the make : -->start of copy [root][153] # make -f Makefile.bsd-wrapper [...] cc -c -I../../os/unix -I../../include -O2 -pipe -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_SOCKADDR_LEN -DMOD_SSL=208116 -DEAPI `../../apaci` -DSSL_COMPAT -DSSL_ENGINE -DMOD_SSL_VERSION=\"2.8.16\" ssl_engine_pphrase.c ssl_engine_pphrase.c: In function `ssl_pphrase_Handle_CB': ssl_engine_pphrase.c:492: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function) ssl_engine_pphrase.c:492: error: (Each undeclared identifier is reported only once ssl_engine_pphrase.c:492: error: for each function it appears in.) *** Error code 1 -->end of copy So I did a rm -rf of the /usr/src and from the following CVSROOT : [EMAIL PROTECTED]:/cvs/openbsd I did a cvs up -dP of OPENBSD_44 But I must have done something wrong or so I guess since I could not compile httpd So I searched with Google and found that in OpenSSL 0.9.8 they did a change, which is explained here : https://issues.apache.org/bugzilla/show_bug.cgi?id=35889 So I did modify my own OpenBSD 4.4 /usr/src/usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c I replaced the PEM_F_DEF_CALLBACK by PEM_F_PEM_DEF_CALLBACK at : [...] prompt = "Enter pass phrase:"; for (;;) { if ((i = EVP_read_pw_string(buf, bufsize, prompt, FALSE)) != 0) { PEMerr(PEM_F_PEM_DEF_CALLBACK,PEM_R_PROBLEMS_GETTING_PASSWORD); memset(buf, 0, (unsigned int)bufsize); return (-1); [...] Now, the commands listed in the beginning of the 004 patch file do apply properly : -->start of copy cc -O2 -pipe -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_SOCKADDR_LEN -DMOD_SSL=208116 -DEAPI -DHTTPD_USER=\"www\" -DUID_MIN=1000 -DGID_MIN=1000 -DUSERDIR_SUFFIX=\"public_html\" -DLOG_EXEC=\"/var/log/suexec_log\" -DDOC_ROOT=\"/var/www/htdocs\" -DSAFE_PATH=\"/usr/bin:/bin:/usr/local/bin\" -DUSE_SETUSERCONTEXT -o suexec -L/usr/lib -L../os/unix -L../ap suexec.o -lm -lap -los -lkeynote -lm -lssl -lcrypto <=== src/support <=== src --> /usr/src/usr.sbin/httpd [root][162] # -->end of copy I guess that, at some time, I must have done or broken something on this machine because the patch could not have broken this. Can someone please confirm me there is nothing wrong in the 004 patch and that for some reason I don't have a clean copy of OPENBSD_44 sources ? Best regards, -- _\(_)/_ Gilbert Fernandes >> Laga /(O)\ Administrateur systemes/reseau