diff options
Diffstat (limited to '')
| -rw-r--r-- | src/usr.sbin/ocspcheck/http.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/usr.sbin/ocspcheck/http.c b/src/usr.sbin/ocspcheck/http.c index 6666bb070c..6a19ad31cb 100644 --- a/src/usr.sbin/ocspcheck/http.c +++ b/src/usr.sbin/ocspcheck/http.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $Id: http.c,v 1.13 2020/01/11 17:37:19 sthen Exp $ */ | 1 | /* $Id: http.c,v 1.14 2021/07/14 13:33:57 kn Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> | 3 | * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv> |
| 4 | * | 4 | * |
| @@ -124,11 +124,6 @@ http_init() | |||
| 124 | if (tlscfg != NULL) | 124 | if (tlscfg != NULL) |
| 125 | return 0; | 125 | return 0; |
| 126 | 126 | ||
| 127 | if (tls_init() == -1) { | ||
| 128 | warn("tls_init"); | ||
| 129 | goto err; | ||
| 130 | } | ||
| 131 | |||
| 132 | tlscfg = tls_config_new(); | 127 | tlscfg = tls_config_new(); |
| 133 | if (tlscfg == NULL) { | 128 | if (tlscfg == NULL) { |
| 134 | warn("tls_config_new"); | 129 | warn("tls_config_new"); |
