summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2020-09-25 10:50:26 +0000
committertb <tb@openbsd.org>2020-09-25 10:50:26 +0000
commit9656a3957968fc0e1f0d238b05f07417639c2462 (patch)
treea935232aefa25b1c446b2cdc1ee09a196143ab94
parentSimplify call to ERR_print_errors_cb() (diff)
downloadwireguard-openbsd-9656a3957968fc0e1f0d238b05f07417639c2462.tar.xz
wireguard-openbsd-9656a3957968fc0e1f0d238b05f07417639c2462.zip
The default branch of a switch somehow got moved inside of a pointless
local scope of a case branch. Move it into the proper location. No binary change on amd64. "sure" jsing
-rw-r--r--lib/libcrypto/ui/ui_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcrypto/ui/ui_lib.c b/lib/libcrypto/ui/ui_lib.c
index 36cbba2e638..106a38fa8a2 100644
--- a/lib/libcrypto/ui/ui_lib.c
+++ b/lib/libcrypto/ui/ui_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ui_lib.c,v 1.39 2020/09/25 10:46:12 tb Exp $ */
+/* $OpenBSD: ui_lib.c,v 1.40 2020/09/25 10:50:26 tb Exp $ */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2001.
*/
@@ -830,9 +830,9 @@ UI_set_result(UI *ui, UI_STRING *uis, const char *result)
break;
}
}
- default:
- break;
}
+ default:
+ break;
}
return 0;
}