summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls.c')
-rw-r--r--src/lib/libtls/tls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.c b/src/lib/libtls/tls.c
index 4536bae183..c79191ee15 100644
--- a/src/lib/libtls/tls.c
+++ b/src/lib/libtls/tls.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.c,v 1.13 2015/08/22 14:20:53 jsing Exp $ */ 1/* $OpenBSD: tls.c,v 1.14 2015/08/27 14:34:46 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -233,6 +233,7 @@ tls_reset(struct tls *ctx)
233 ctx->ssl_ctx = NULL; 233 ctx->ssl_ctx = NULL;
234 234
235 ctx->socket = -1; 235 ctx->socket = -1;
236 ctx->state = 0;
236 237
237 ctx->err = 0; 238 ctx->err = 0;
238 free(ctx->errmsg); 239 free(ctx->errmsg);