diff options
author | 2020-10-08 23:46:57 +0000 | |
---|---|---|
committer | 2020-10-08 23:46:57 +0000 | |
commit | 84decd308c70f69c5c995a8d10c870c8fd19ede5 (patch) | |
tree | 638a81e640b6ef75108c0aab6fd1475f0dde745d | |
parent | Register sxitwi(4) in the I2C framework. (diff) | |
download | wireguard-openbsd-84decd308c70f69c5c995a8d10c870c8fd19ede5.tar.xz wireguard-openbsd-84decd308c70f69c5c995a8d10c870c8fd19ede5.zip |
set SO_REUSEADDR on the server socket when we play oscp server.
ok inoguchi@ tb@ deraadt@
-rw-r--r-- | usr.bin/openssl/ocsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/openssl/ocsp.c b/usr.bin/openssl/ocsp.c index 8eac2dcd111..3f01416053d 100644 --- a/usr.bin/openssl/ocsp.c +++ b/usr.bin/openssl/ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ocsp.c,v 1.19 2020/09/09 13:57:36 inoguchi Exp $ */ +/* $OpenBSD: ocsp.c,v 1.20 2020/10/08 23:46:57 beck Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2000. */ @@ -1328,6 +1328,7 @@ init_responder(char *port) acbio = BIO_new_accept(port); if (!acbio) goto err; + BIO_set_bind_mode(acbio, BIO_BIND_REUSEADDR); BIO_set_accept_bios(acbio, bufbio); bufbio = NULL; |