openbsd-ports/www/ratproxy/patches/patch-ssl_c
jasper 8b38b19ffc import ratproxy 1.51
(buzz word alert!)
Semi-automated, largely passive web application security audit tool,
optimized for an accurate and sensitive detection, and automatic
annotation, of potential problems and security-relevant design patterns
based on the observation of existing, user-initiated traffic in complex
web 2.0 environments.
Detects and prioritizes broad classes of security problems, such as
dynamic cross-site trust model considerations, script inclusion issues,
content serving problems, insufficient XSRF and XSS defenses, and much
more.

testing and ok kili@
2008-09-23 20:59:40 +00:00

17 lines
786 B
Plaintext

$OpenBSD: patch-ssl_c,v 1.1.1.1 2008/09/23 20:59:40 jasper Exp $
--- ssl.c.orig Tue Sep 23 20:56:13 2008
+++ ssl.c Tue Sep 23 20:59:34 2008
@@ -143,10 +143,10 @@ void ssl_start(_s32 srv_fd, _s32 cli_fd) {
if (!srv_ctx || !cli_ctx || !err) ssl_fatal("unable to create SSL CTX or BIO", err);
- if (SSL_CTX_use_certificate_chain_file(cli_ctx,"keyfile.pem") != 1)
+ if (SSL_CTX_use_certificate_chain_file(cli_ctx,"${PREFIX}/share/ratproxy/keyfile.pem") != 1)
ssl_fatal("certificate load failed", err);
- if (SSL_CTX_use_PrivateKey_file(cli_ctx,"keyfile.pem",SSL_FILETYPE_PEM) != 1)
+ if (SSL_CTX_use_PrivateKey_file(cli_ctx,"${PREFIX}/share/ratproxy/keyfile.pem",SSL_FILETYPE_PEM) != 1)
ssl_fatal("private key load failed", err);
cli_ssl = SSL_new(cli_ctx);