diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2020-09-01 06:02:52 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2020-09-01 06:02:52 +0000 |
commit | ef295d54ff8f367f7d662816a47e98e7568f21f2 (patch) | |
tree | df7fe9cbe4ecde488abac573b222db488852696d /lib/libssl/ssl_sess.c | |
parent | f134432ee76e1778b4067e38f17ed2cfca6748e1 (diff) |
Indent label and remove dangling else
Diffstat (limited to 'lib/libssl/ssl_sess.c')
-rw-r--r-- | lib/libssl/ssl_sess.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/ssl_sess.c b/lib/libssl/ssl_sess.c index 7c96719b605..6d948211e6a 100644 --- a/lib/libssl/ssl_sess.c +++ b/lib/libssl/ssl_sess.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_sess.c,v 1.89 2020/09/01 06:01:30 tb Exp $ */ +/* $OpenBSD: ssl_sess.c,v 1.90 2020/09/01 06:02:51 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -577,7 +577,7 @@ ssl_get_prev_session(SSL *s, CBS *session_id, CBS *ext_block, int *alert) s->verify_result = s->session->verify_result; return 1; -err: + err: if (sess != NULL) { SSL_SESSION_free(sess); if (!try_session_cache) { @@ -591,8 +591,8 @@ err: if (fatal) { *alert = alert_desc; return -1; - } else - return 0; + } + return 0; } int |